xref: /haiku/src/tests/kits/support/bstring/StringTest.cpp (revision f960e7e9a2b236d50e202d5c46b4d759d46b233a)
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 #include "StringSplitTest.h"
20 
21 
StringTestSuite()22 CppUnit::Test *StringTestSuite()
23 {
24 	CppUnit::TestSuite *testSuite = new CppUnit::TestSuite();
25 
26 	testSuite->addTest(StringConstructionTest::suite());
27 	testSuite->addTest(StringAccessTest::suite());
28 	testSuite->addTest(StringAssignTest::suite());
29 	testSuite->addTest(StringAppendTest::suite());
30 	testSuite->addTest(StringSubCopyTest::suite());
31 	testSuite->addTest(StringPrependTest::suite());
32 	testSuite->addTest(StringCaseTest::suite());
33 	testSuite->addTest(StringInsertTest::suite());
34 	testSuite->addTest(StringEscapeTest::suite());
35 	testSuite->addTest(StringRemoveTest::suite());
36 	testSuite->addTest(StringCompareTest::suite());
37 	testSuite->addTest(StringFormatAppendTest::suite());
38 	testSuite->addTest(StringCharAccessTest::suite());
39 	testSuite->addTest(StringReplaceTest::suite());
40 	testSuite->addTest(StringSearchTest::suite());
41 	testSuite->addTest(StringSplitTest::suite());
42 
43 	return(testSuite);
44 }
45