| 198 | } |
| 199 | |
| 200 | void OptionHandlerTest::testFloatNumberOptionHandler() |
| 201 | { |
| 202 | FloatNumberOptionHandler handler(PREF_TIMEOUT); |
| 203 | Option option; |
| 204 | handler.parse(option, "1.0"); |
| 205 | CPPUNIT_ASSERT_EQUAL(std::string("1.0"), option.get(PREF_TIMEOUT)); |
| 206 | CPPUNIT_ASSERT_EQUAL(std::string("*-*"), |
| 207 | handler.createPossibleValuesString()); |
| 208 | } |
| 209 | |
| 210 | void OptionHandlerTest::testFloatNumberOptionHandler_min() |
| 211 | { |
nothing calls this directly
no test coverage detected