[Uml-devel] tags/KDE/3.5.0/kdesdk
Stephan Kulow
coolo at kde.org
Fri Nov 25 23:23:13 UTC 2005
SVN commit 483373 by coolo:
retagging fixes since RC2
M +4 -4 kunittest/example/module/samplemodule.cpp
M +4 -7 kunittest/example/module/samplemodule2.cpp
M +2 -5 kunittest/example/module/sampletests.cpp
M +1 -4 kunittest/example/simple/sampletest.cpp
M +0 -1 umbrello/umbrello/toolbarstate.cpp
--- tags/KDE/3.5.0/kdesdk/kunittest/example/module/samplemodule.cpp #483372:483373
@@ -31,7 +31,7 @@
using namespace KUnitTest;
-KUNITTEST_MODULE( kunittest_samplemodule, "Suite1" );
-KUNITTEST_MODULE_REGISTER_TESTER( SlotSampleTester );
-KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester );
-KUNITTEST_MODULE_REGISTER_TESTER( SomeExtraTester );
+KUNITTEST_MODULE( kunittest_samplemodule, "Suite1" )
+KUNITTEST_MODULE_REGISTER_TESTER( SlotSampleTester )
+KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )
+KUNITTEST_MODULE_REGISTER_TESTER( SomeExtraTester )
--- tags/KDE/3.5.0/kdesdk/kunittest/example/module/samplemodule2.cpp #483372:483373
@@ -33,9 +33,9 @@
using namespace KUnitTest;
-KUNITTEST_MODULE( kunittest_samplemodule2, "Suite2::Sub" );
-KUNITTEST_MODULE_REGISTER_TESTER( SimpleSampleTester );
-KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester );
+KUNITTEST_MODULE( kunittest_samplemodule2, "Suite2::Sub" )
+KUNITTEST_MODULE_REGISTER_TESTER( SimpleSampleTester )
+KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )
void SimpleSampleTester::allTests()
{
@@ -57,8 +57,5 @@
QStringList testList;
testList << "one" << "two";
- //NOTE If your write 2 instead of 2u you get a
- // compile error, since QStringList::count returns
- // an usigned int and CHECK is based on a template.
- CHECK( testList.count() , 2u );
+ CHECK( testList.count() , (QStringList::size_type) 2 );
}
--- tags/KDE/3.5.0/kdesdk/kunittest/example/module/sampletests.cpp #483372:483373
@@ -74,11 +74,8 @@
QStringList testList;
testList << "one" << "two";
- //NOTE If your write 2 instead of 2u you get a
- // compile error, since QStringList::count returns
- // an usigned int and CHECK is based on a template.
- CHECK( testList.count() , 2u );
- CHECK( testList.count()*2 , 4u );
+ CHECK( testList.count() , (QStringList::size_type) 2 );
+ CHECK( testList.count()*2 , (QStringList::size_type) 4 );
}
#include "sampletests.moc"
--- tags/KDE/3.5.0/kdesdk/kunittest/example/simple/sampletest.cpp #483372:483373
@@ -51,8 +51,5 @@
QStringList testList;
testList << "one" << "two";
- //NOTE If your write 2 instead of 2u you get a
- // compile error, since QStringList::count returns
- // an unsigned int and CHECK is based on a template.
- CHECK( testList.count() , 2u );
+ CHECK( testList.count() , (QStringList::size_type) 2 );
}
--- tags/KDE/3.5.0/kdesdk/umbrello/umbrello/toolbarstate.cpp #483372:483373
@@ -193,7 +193,6 @@
m_bWidgetSelected = true;
return true;
}
- ++mit;
}
// Check widgets.
More information about the umbrello-devel
mailing list