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