| 1 | // | 
|---|---|
| 2 | // TextBufferIteratorTest.h | 
| 3 | // | 
| 4 | // Definition of the TextBufferIteratorTest class. | 
| 5 | // | 
| 6 | // Copyright (c) 2010, Applied Informatics Software Engineering GmbH. | 
| 7 | // and Contributors. | 
| 8 | // | 
| 9 | // SPDX-License-Identifier: BSL-1.0 | 
| 10 | // | 
| 11 | |
| 12 | |
| 13 | #ifndef TextBufferIteratorTest_INCLUDED | 
| 14 | #define TextBufferIteratorTest_INCLUDED | 
| 15 | |
| 16 | |
| 17 | #include "Poco/Foundation.h" | 
| 18 | #include "Poco/CppUnit/TestCase.h" | 
| 19 | |
| 20 | |
| 21 | class TextBufferIteratorTest: public CppUnit::TestCase | 
| 22 | { | 
| 23 | public: | 
| 24 | TextBufferIteratorTest(const std::string& name); | 
| 25 | ~TextBufferIteratorTest(); | 
| 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 // TextBufferIteratorTest_INCLUDED | 
| 47 | 
