[Ktutorial-commits] SF.net SVN: ktutorial:[155] trunk/ktutorial/ktutorial-editor/tests/unit
Status: Alpha
Brought to you by:
danxuliu
|
From: <dan...@us...> - 2010-03-15 08:24:33
|
Revision: 155
http://ktutorial.svn.sourceforge.net/ktutorial/?rev=155&view=rev
Author: danxuliu
Date: 2010-03-15 08:24:21 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
Ooops, these files were missed in commit 154.
Modified Paths:
--------------
trunk/ktutorial/ktutorial-editor/tests/unit/ReactionTest.cpp
trunk/ktutorial/ktutorial-editor/tests/unit/view/WaitForTreeItemTest.cpp
Modified: trunk/ktutorial/ktutorial-editor/tests/unit/ReactionTest.cpp
===================================================================
--- trunk/ktutorial/ktutorial-editor/tests/unit/ReactionTest.cpp 2010-03-15 06:56:15 UTC (rev 154)
+++ trunk/ktutorial/ktutorial-editor/tests/unit/ReactionTest.cpp 2010-03-15 08:24:21 UTC (rev 155)
@@ -55,6 +55,14 @@
Q_OBJECT
public:
+ WaitFor* clone() const {
+ return 0;
+ }
+
+ bool equals(const WaitFor& waitFor) const {
+ return false;
+ }
+
void emitDataChanged() {
emit dataChanged(this);
}
Modified: trunk/ktutorial/ktutorial-editor/tests/unit/view/WaitForTreeItemTest.cpp
===================================================================
--- trunk/ktutorial/ktutorial-editor/tests/unit/view/WaitForTreeItemTest.cpp 2010-03-15 06:56:15 UTC (rev 154)
+++ trunk/ktutorial/ktutorial-editor/tests/unit/view/WaitForTreeItemTest.cpp 2010-03-15 08:24:21 UTC (rev 155)
@@ -63,6 +63,15 @@
public:
StubWaitFor(QObject* parent = 0): WaitFor(parent) {
}
+
+ virtual WaitFor* clone() const {
+ return 0;
+ }
+
+ virtual bool equals(const WaitFor& waitFor) const {
+ Q_UNUSED(waitFor);
+ return false;
+ }
};
void WaitForTreeItemTest::testConstructor() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|