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