xref: /haiku/src/tests/kits/support/bstring/StringTest.cpp (revision f960e7e9a2b236d50e202d5c46b4d759d46b233a)
1ed1b028fSStefano Ceccherini #include "cppunit/Test.h"
2ed1b028fSStefano Ceccherini #include "cppunit/TestSuite.h"
3ed1b028fSStefano Ceccherini #include "StringTest.h"
4ed1b028fSStefano Ceccherini #include "StringConstructionTest.h"
5cc4d4cd5SStefano Ceccherini #include "StringAccessTest.h"
6eee13b4dSStefano Ceccherini #include "StringAssignTest.h"
7eee13b4dSStefano Ceccherini #include "StringAppendTest.h"
8eee13b4dSStefano Ceccherini #include "StringSubCopyTest.h"
9eee13b4dSStefano Ceccherini #include "StringPrependTest.h"
10eee13b4dSStefano Ceccherini #include "StringCaseTest.h"
11dd2406ebSStefano Ceccherini #include "StringInsertTest.h"
12dd2406ebSStefano Ceccherini #include "StringEscapeTest.h"
136903f4c6SStefano Ceccherini #include "StringRemoveTest.h"
1496acb967SStefano Ceccherini #include "StringCompareTest.h"
15ce06a3c7SStefano Ceccherini #include "StringFormatAppendTest.h"
16e440e9f4SStefano Ceccherini #include "StringCharAccessTest.h"
17eb071be3SStefano Ceccherini #include "StringReplaceTest.h"
18cebc72f7SStefano Ceccherini #include "StringSearchTest.h"
19a25f7264SJérôme Duval #include "StringSplitTest.h"
20ed1b028fSStefano Ceccherini 
21*f960e7e9Skrish_iyer 
StringTestSuite()22ed1b028fSStefano Ceccherini CppUnit::Test *StringTestSuite()
23ed1b028fSStefano Ceccherini {
24ed1b028fSStefano Ceccherini 	CppUnit::TestSuite *testSuite = new CppUnit::TestSuite();
25ed1b028fSStefano Ceccherini 
26ed1b028fSStefano Ceccherini 	testSuite->addTest(StringConstructionTest::suite());
27cc4d4cd5SStefano Ceccherini 	testSuite->addTest(StringAccessTest::suite());
28eee13b4dSStefano Ceccherini 	testSuite->addTest(StringAssignTest::suite());
29eee13b4dSStefano Ceccherini 	testSuite->addTest(StringAppendTest::suite());
30eee13b4dSStefano Ceccherini 	testSuite->addTest(StringSubCopyTest::suite());
31eee13b4dSStefano Ceccherini 	testSuite->addTest(StringPrependTest::suite());
32eee13b4dSStefano Ceccherini 	testSuite->addTest(StringCaseTest::suite());
33dd2406ebSStefano Ceccherini 	testSuite->addTest(StringInsertTest::suite());
34dd2406ebSStefano Ceccherini 	testSuite->addTest(StringEscapeTest::suite());
356903f4c6SStefano Ceccherini 	testSuite->addTest(StringRemoveTest::suite());
3696acb967SStefano Ceccherini 	testSuite->addTest(StringCompareTest::suite());
37ce06a3c7SStefano Ceccherini 	testSuite->addTest(StringFormatAppendTest::suite());
38e440e9f4SStefano Ceccherini 	testSuite->addTest(StringCharAccessTest::suite());
39eb071be3SStefano Ceccherini 	testSuite->addTest(StringReplaceTest::suite());
40cebc72f7SStefano Ceccherini 	testSuite->addTest(StringSearchTest::suite());
41a25f7264SJérôme Duval 	testSuite->addTest(StringSplitTest::suite());
42ed1b028fSStefano Ceccherini 
43ed1b028fSStefano Ceccherini 	return(testSuite);
44ed1b028fSStefano Ceccherini }
45