| 1 | // |
|---|---|
| 2 | // TextTestSuite.cpp |
| 3 | // |
| 4 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. |
| 5 | // and Contributors. |
| 6 | // |
| 7 | // SPDX-License-Identifier: BSL-1.0 |
| 8 | // |
| 9 | |
| 10 | |
| 11 | #include "TextTestSuite.h" |
| 12 | #include "TextIteratorTest.h" |
| 13 | #include "TextBufferIteratorTest.h" |
| 14 | #include "TextConverterTest.h" |
| 15 | #include "StreamConverterTest.h" |
| 16 | #include "TextEncodingTest.h" |
| 17 | #include "UTF8StringTest.h" |
| 18 | #ifndef POCO_NO_WSTRING |
| 19 | #include "UnicodeConverterTest.h" |
| 20 | #endif |
| 21 | |
| 22 | CppUnit::Test* TextTestSuite::suite() |
| 23 | { |
| 24 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("TextTestSuite"); |
| 25 | |
| 26 | pSuite->addTest(TextIteratorTest::suite()); |
| 27 | pSuite->addTest(TextBufferIteratorTest::suite()); |
| 28 | pSuite->addTest(TextConverterTest::suite()); |
| 29 | pSuite->addTest(StreamConverterTest::suite()); |
| 30 | pSuite->addTest(TextEncodingTest::suite()); |
| 31 | pSuite->addTest(UTF8StringTest::suite()); |
| 32 | #ifndef POCO_NO_WSTRING |
| 33 | pSuite->addTest(UnicodeConverterTest::suite()); |
| 34 | #endif |
| 35 | |
| 36 | return pSuite; |
| 37 | } |
| 38 |