[Ktutorial-commits] SF.net SVN: ktutorial:[359] trunk/ktutorial/ktutorial-library/tests/ editorsup
Status: Alpha
Brought to you by:
danxuliu
From: <dan...@us...> - 2012-08-09 15:59:53
|
Revision: 359 http://ktutorial.svn.sourceforge.net/ktutorial/?rev=359&view=rev Author: danxuliu Date: 2012-08-09 15:59:47 +0000 (Thu, 09 Aug 2012) Log Message: ----------- Fix parameter order in QCOMPARE. Modified Paths: -------------- trunk/ktutorial/ktutorial-library/tests/editorsupport/EditorSupportTest.cpp Modified: trunk/ktutorial/ktutorial-library/tests/editorsupport/EditorSupportTest.cpp =================================================================== --- trunk/ktutorial/ktutorial-library/tests/editorsupport/EditorSupportTest.cpp 2012-08-09 15:52:01 UTC (rev 358) +++ trunk/ktutorial/ktutorial-library/tests/editorsupport/EditorSupportTest.cpp 2012-08-09 15:59:47 UTC (rev 359) @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010-2011 by Daniel Calviño Sánchez * + * Copyright (C) 2010-2012 by Daniel Calviño Sánchez * * dan...@gm... * * * * This program is free software; you can redistribute it and/or modify * @@ -142,8 +142,8 @@ int mainWindowObjectId = editorSupport.mainWindowObjectId(); - QCOMPARE(editorSupport.mObjectRegister->idForObject(&window), - mainWindowObjectId); + QCOMPARE(mainWindowObjectId, + editorSupport.mObjectRegister->idForObject(&window)); } void EditorSupportTest::testHighlight() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |