1 //
2 // XMLConfigurationTest.h
3 //
4 // Definition of the XMLConfigurationTest 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 XMLConfigurationTest_INCLUDED
14 #define XMLConfigurationTest_INCLUDED
15 
16 
17 #include "AbstractConfigurationTest.h"
18 #include "Poco/Util/Util.h"
19 
20 
21 class XMLConfigurationTest: public AbstractConfigurationTest
22 {
23 public:
24 	XMLConfigurationTest(const std::string& name);
25 	virtual ~XMLConfigurationTest();
26 
27 	void testLoad();
28 	void testSave();
29 	void testLoadAppendSave();
30 	void testOtherDelimiter();
31 	void testSaveEmpty();
32 	void testFromScratch();
33 	void testLoadEmpty();
34 
35 	void setUp();
36 	void tearDown();
37 
38 	static CppUnit::Test* suite();
39 
40 private:
41 	virtual Poco::Util::AbstractConfiguration::Ptr allocConfiguration() const;
42 };
43 
44 
45 #endif // XMLConfigurationTest_INCLUDED
46