Revision: 85
http://ktutorial.svn.sourceforge.net/ktutorial/?rev=85&view=rev
Author: danxuliu
Date: 2010-02-09 02:15:30 +0000 (Tue, 09 Feb 2010)
Log Message:
-----------
Since commit 83 no GUI is needed to start a tutorial.
Modified Paths:
--------------
trunk/ktutorial/test/TutorialManagerTest.cpp
trunk/ktutorial/test/TutorialTest.cpp
trunk/ktutorial/test/scripting/ScriptManagerTest.cpp
trunk/ktutorial/test/scripting/ScriptingTest.cpp
Modified: trunk/ktutorial/test/TutorialManagerTest.cpp
===================================================================
--- trunk/ktutorial/test/TutorialManagerTest.cpp 2010-02-09 01:57:11 UTC (rev 84)
+++ trunk/ktutorial/test/TutorialManagerTest.cpp 2010-02-09 02:15:30 UTC (rev 85)
@@ -222,6 +222,6 @@
QCOMPARE(finishedSpy.count(), 1);
}
-QTEST_KDEMAIN(TutorialManagerTest, GUI)
+QTEST_MAIN(TutorialManagerTest)
#include "TutorialManagerTest.moc"
Modified: trunk/ktutorial/test/TutorialTest.cpp
===================================================================
--- trunk/ktutorial/test/TutorialTest.cpp 2010-02-09 01:57:11 UTC (rev 84)
+++ trunk/ktutorial/test/TutorialTest.cpp 2010-02-09 02:15:30 UTC (rev 85)
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Daniel Calviño Sánchez *
+ * Copyright (C) 2009-2010 by Daniel Calviño Sánchez *
* dan...@gm... *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -346,6 +346,6 @@
QCOMPARE(finishedSpy.count(), 1);
}
-QTEST_KDEMAIN(TutorialTest, GUI)
+QTEST_MAIN(TutorialTest)
#include "TutorialTest.moc"
Modified: trunk/ktutorial/test/scripting/ScriptManagerTest.cpp
===================================================================
--- trunk/ktutorial/test/scripting/ScriptManagerTest.cpp 2010-02-09 01:57:11 UTC (rev 84)
+++ trunk/ktutorial/test/scripting/ScriptManagerTest.cpp 2010-02-09 02:15:30 UTC (rev 85)
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Daniel Calviño Sánchez *
+ * Copyright (C) 2009-2010 by Daniel Calviño Sánchez *
* dan...@gm... *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -138,6 +138,6 @@
}
-QTEST_KDEMAIN(scripting::ScriptManagerTest, NoGUI)
+QTEST_MAIN(scripting::ScriptManagerTest)
#include "ScriptManagerTest.moc"
Modified: trunk/ktutorial/test/scripting/ScriptingTest.cpp
===================================================================
--- trunk/ktutorial/test/scripting/ScriptingTest.cpp 2010-02-09 01:57:11 UTC (rev 84)
+++ trunk/ktutorial/test/scripting/ScriptingTest.cpp 2010-02-09 02:15:30 UTC (rev 85)
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Daniel Calviño Sánchez *
+ * Copyright (C) 2009-2010 by Daniel Calviño Sánchez *
* dan...@gm... *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -390,7 +390,6 @@
}
-//A GUI is needed because tutorials create and show StepWidgets when started
-QTEST_KDEMAIN(scripting::ScriptingTest, GUI)
+QTEST_MAIN(scripting::ScriptingTest)
#include "ScriptingTest.moc"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|