| 1 | // |
| 2 | // IniFileConfigurationTest.h |
| 3 | // |
| 4 | // Definition of the IniFileConfigurationTest 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 IniFileConfigurationTest_INCLUDED |
| 14 | #define IniFileConfigurationTest_INCLUDED |
| 15 | |
| 16 | |
| 17 | #include "AbstractConfigurationTest.h" |
| 18 | #include "Poco/Util/Util.h" |
| 19 | |
| 20 | |
| 21 | class IniFileConfigurationTest: public AbstractConfigurationTest |
| 22 | { |
| 23 | public: |
| 24 | IniFileConfigurationTest(const std::string& name); |
| 25 | virtual ~IniFileConfigurationTest(); |
| 26 | |
| 27 | void testLoad(); |
| 28 | void testCaseInsensitiveRemove(); |
| 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 // IniFileConfigurationTest_INCLUDED |
| 41 | |