1 | // |
2 | // XMLWriterTest.h |
3 | // |
4 | // Definition of the XMLWriterTest 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 XMLWriterTest_INCLUDED |
14 | #define XMLWriterTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/XML/XML.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class XMLWriterTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | XMLWriterTest(const std::string& name); |
25 | ~XMLWriterTest(); |
26 | |
27 | void testTrivial(); |
28 | void testTrivialCanonical(); |
29 | void testTrivialDecl(); |
30 | void testTrivialDeclPretty(); |
31 | void testTrivialFragment(); |
32 | void testTrivialFragmentPretty(); |
33 | void testDTDPretty(); |
34 | void testDTD(); |
35 | void testDTDPublic(); |
36 | void testDTDNotation(); |
37 | void testDTDEntity(); |
38 | void testAttributes(); |
39 | void testAttributesPretty(); |
40 | void testData(); |
41 | void testEmptyData(); |
42 | void testDataPretty(); |
43 | void testEmptyDataPretty(); |
44 | void (); |
45 | void testPI(); |
46 | void testCharacters(); |
47 | void testEmptyCharacters(); |
48 | void testCDATA(); |
49 | void testRawCharacters(); |
50 | void testAttributeCharacters(); |
51 | void testDefaultNamespace(); |
52 | void testQNamespaces(); |
53 | void testQNamespacesNested(); |
54 | void testNamespaces(); |
55 | void testNamespacesCanonical(); |
56 | void testAttributeNamespaces(); |
57 | void testAttributeNamespacesCanonical(); |
58 | void testNamespacesNested(); |
59 | void testNamespacesNestedCanonical(); |
60 | void testExplicitNamespaces(); |
61 | void testWellformed(); |
62 | void testWellformedNested(); |
63 | void testWellformedNamespace(); |
64 | void testEmpty(); |
65 | |
66 | void setUp(); |
67 | void tearDown(); |
68 | |
69 | static CppUnit::Test* suite(); |
70 | |
71 | private: |
72 | }; |
73 | |
74 | |
75 | #endif // XMLWriterTest_INCLUDED |
76 | |