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