1 | // |
2 | // JSONConfigurationTest.h |
3 | // |
4 | // Definition of the JSONConfigurationTest class. |
5 | // |
6 | // Copyright (c) 2004-2012, Applied Informatics Software Engineering GmbH. |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | |
13 | #ifndef JSONConfigurationTest_INCLUDED |
14 | #define JSONConfigurationTest_INCLUDED |
15 | |
16 | |
17 | #include "AbstractConfigurationTest.h" |
18 | #include "Poco/Util/Util.h" |
19 | |
20 | |
21 | class JSONConfigurationTest: public AbstractConfigurationTest |
22 | { |
23 | public: |
24 | JSONConfigurationTest(const std::string& name); |
25 | virtual ~JSONConfigurationTest(); |
26 | |
27 | void testLoad(); |
28 | void testSetArrayElement(); |
29 | |
30 | void setUp(); |
31 | void tearDown(); |
32 | |
33 | static CppUnit::Test* suite(); |
34 | |
35 | private: |
36 | virtual Poco::Util::AbstractConfiguration::Ptr allocConfiguration() const; |
37 | }; |
38 | |
39 | |
40 | #endif // JSONConfigurationTest_INCLUDED |
41 | |