[Ktutorial-commits] SF.net SVN: ktutorial:[146] trunk/ktutorial/ktutorial-editor/tests/unit/ Tutori
Status: Alpha
Brought to you by:
danxuliu
From: <dan...@us...> - 2010-03-11 19:36:24
|
Revision: 146 http://ktutorial.svn.sourceforge.net/ktutorial/?rev=146&view=rev Author: danxuliu Date: 2010-03-11 19:36:17 +0000 (Thu, 11 Mar 2010) Log Message: ----------- Fix registering meta type. I don't know why it worked with the wrong type... but if the signals were emitted the test passed, and if they weren't the test didn't pass, so the test was "fine" anyway. Modified Paths: -------------- trunk/ktutorial/ktutorial-editor/tests/unit/TutorialTest.cpp Modified: trunk/ktutorial/ktutorial-editor/tests/unit/TutorialTest.cpp =================================================================== --- trunk/ktutorial/ktutorial-editor/tests/unit/TutorialTest.cpp 2010-03-10 18:47:21 UTC (rev 145) +++ trunk/ktutorial/ktutorial-editor/tests/unit/TutorialTest.cpp 2010-03-11 19:36:17 UTC (rev 146) @@ -57,7 +57,7 @@ void TutorialTest::initTestCase() { //Step* must be registered in order to be used with QSignalSpy - mStepStarType = qRegisterMetaType<Tutorial*>("Step*"); + mStepStarType = qRegisterMetaType<Step*>("Step*"); } void TutorialTest::testConstructor() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |