1 | // |
2 | // TextTest.h |
3 | // |
4 | // Definition of the TextTest 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 TextTest_INCLUDED |
14 | #define TextTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/XML/XML.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class TextTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | TextTest(const std::string& name); |
25 | ~TextTest(); |
26 | |
27 | void testLength(); |
28 | void testSubstring(); |
29 | void testAppend(); |
30 | void testInsert(); |
31 | void testDelete(); |
32 | void testReplace(); |
33 | void testSplit(); |
34 | void testSplitCDATA(); |
35 | |
36 | void setUp(); |
37 | void tearDown(); |
38 | |
39 | static CppUnit::Test* suite(); |
40 | |
41 | private: |
42 | }; |
43 | |
44 | |
45 | #endif // TextTest_INCLUDED |
46 | |