| 66 | } |
| 67 | |
| 68 | void OptionHandlerTest::testNumberOptionHandler() |
| 69 | { |
| 70 | NumberOptionHandler handler(PREF_TIMEOUT); |
| 71 | Option option; |
| 72 | handler.parse(option, "0"); |
| 73 | CPPUNIT_ASSERT_EQUAL(std::string("0"), option.get(PREF_TIMEOUT)); |
| 74 | CPPUNIT_ASSERT_EQUAL(std::string("*-*"), |
| 75 | handler.createPossibleValuesString()); |
| 76 | } |
| 77 | |
| 78 | void OptionHandlerTest::testNumberOptionHandler_min() |
| 79 | { |
nothing calls this directly
no test coverage detected