1 #include "cppunit/Test.h" 2 #include "cppunit/TestSuite.h" 3 #include "StringTest.h" 4 #include "StringConstructionTest.h" 5 #include "StringAccessTest.h" 6 #include "StringAssignTest.h" 7 #include "StringAppendTest.h" 8 #include "StringSubCopyTest.h" 9 #include "StringPrependTest.h" 10 #include "StringCaseTest.h" 11 #include "StringInsertTest.h" 12 #include "StringEscapeTest.h" 13 #include "StringRemoveTest.h" 14 #include "StringCompareTest.h" 15 #include "StringFormatAppendTest.h" 16 #include "StringCharAccessTest.h" 17 #include "StringReplaceTest.h" 18 #include "StringSearchTest.h" 19 20 CppUnit::Test *StringTestSuite() 21 { 22 CppUnit::TestSuite *testSuite = new CppUnit::TestSuite(); 23 24 testSuite->addTest(StringConstructionTest::suite()); 25 testSuite->addTest(StringAccessTest::suite()); 26 testSuite->addTest(StringAssignTest::suite()); 27 testSuite->addTest(StringAppendTest::suite()); 28 testSuite->addTest(StringSubCopyTest::suite()); 29 testSuite->addTest(StringPrependTest::suite()); 30 testSuite->addTest(StringCaseTest::suite()); 31 testSuite->addTest(StringInsertTest::suite()); 32 testSuite->addTest(StringEscapeTest::suite()); 33 testSuite->addTest(StringRemoveTest::suite()); 34 testSuite->addTest(StringCompareTest::suite()); 35 testSuite->addTest(StringFormatAppendTest::suite()); 36 testSuite->addTest(StringCharAccessTest::suite()); 37 testSuite->addTest(StringReplaceTest::suite()); 38 testSuite->addTest(StringSearchTest::suite()); 39 40 return(testSuite); 41 } 42