1//
2// ElementTest.h
3//
4// Definition of the ElementTest 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 ElementTest_INCLUDED
14#define ElementTest_INCLUDED
15
16
17#include "Poco/XML/XML.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class ElementTest: public CppUnit::TestCase
22{
23public:
24 ElementTest(const std::string& name);
25 ~ElementTest();
26
27 void testAttributes();
28 void testAttributesNS();
29 void testAttrMap();
30 void testAttrMapNS();
31 void testElementsByTagName();
32 void testElementsByTagNameNS();
33 void testInnerText();
34 void testChildElement();
35 void testChildElementNS();
36 void testNodeByPath();
37 void testNodeByPathNS();
38
39 void setUp();
40 void tearDown();
41
42 static CppUnit::Test* suite();
43
44private:
45};
46
47
48#endif // ElementTest_INCLUDED
49