| 1 | // |
| 2 | // UTF8StringTest.h |
| 3 | // |
| 4 | // Definition of the UTF8StringTest class. |
| 5 | // |
| 6 | // Copyright (c) 2007, Applied Informatics Software Engineering GmbH. |
| 7 | // and Contributors. |
| 8 | // |
| 9 | // SPDX-License-Identifier: BSL-1.0 |
| 10 | // |
| 11 | |
| 12 | |
| 13 | #ifndef UTF8StringTest_INCLUDED |
| 14 | #define UTF8StringTest_INCLUDED |
| 15 | |
| 16 | |
| 17 | #include "Poco/Foundation.h" |
| 18 | #include "Poco/CppUnit/TestCase.h" |
| 19 | |
| 20 | |
| 21 | class UTF8StringTest: public CppUnit::TestCase |
| 22 | { |
| 23 | public: |
| 24 | UTF8StringTest(const std::string& name); |
| 25 | ~UTF8StringTest(); |
| 26 | |
| 27 | void testCompare(); |
| 28 | void testTransform(); |
| 29 | |
| 30 | void testEscape(); |
| 31 | void testUnescape(); |
| 32 | |
| 33 | void setUp(); |
| 34 | void tearDown(); |
| 35 | |
| 36 | static CppUnit::Test* suite(); |
| 37 | |
| 38 | private: |
| 39 | }; |
| 40 | |
| 41 | |
| 42 | #endif // UTF8StringTest_INCLUDED |
| 43 | |