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