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