1 | // |
2 | // NodeTest.h |
3 | // |
4 | // Definition of the NodeTest 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 NodeTest_INCLUDED |
14 | #define NodeTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/XML/XML.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class NodeTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | NodeTest(const std::string& name); |
25 | ~NodeTest(); |
26 | |
27 | void testInsert(); |
28 | void testAppend(); |
29 | void testRemove(); |
30 | void testReplace(); |
31 | void testInsertFragment1(); |
32 | void testInsertFragment2(); |
33 | void testInsertFragment3(); |
34 | void testAppendFragment1(); |
35 | void testAppendFragment2(); |
36 | void testAppendFragment3(); |
37 | void testReplaceFragment1(); |
38 | void testReplaceFragment2(); |
39 | void testReplaceFragment3(); |
40 | |
41 | void setUp(); |
42 | void tearDown(); |
43 | |
44 | static CppUnit::Test* suite(); |
45 | |
46 | private: |
47 | }; |
48 | |
49 | |
50 | #endif // NodeTest_INCLUDED |
51 | |