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