| 1 | // |
|---|---|
| 2 | // OptionTest.h |
| 3 | // |
| 4 | // Definition of the OptionTest 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 OptionTest_INCLUDED |
| 14 | #define OptionTest_INCLUDED |
| 15 | |
| 16 | |
| 17 | #include "Poco/Util/Util.h" |
| 18 | #include "Poco/CppUnit/TestCase.h" |
| 19 | |
| 20 | |
| 21 | class OptionTest: public CppUnit::TestCase |
| 22 | { |
| 23 | public: |
| 24 | OptionTest(const std::string& name); |
| 25 | ~OptionTest(); |
| 26 | |
| 27 | void testOption(); |
| 28 | void testMatches1(); |
| 29 | void testMatches2(); |
| 30 | void testProcess1(); |
| 31 | void testProcess2(); |
| 32 | |
| 33 | void setUp(); |
| 34 | void tearDown(); |
| 35 | |
| 36 | static CppUnit::Test* suite(); |
| 37 | |
| 38 | private: |
| 39 | }; |
| 40 | |
| 41 | |
| 42 | #endif // OptionTest_INCLUDED |
| 43 |