Home
last modified time | relevance | path

Searched refs:option_argument_value_error (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/kyua/utils/cmdline/
H A Dexceptions.cpp109 cmdline::option_argument_value_error::option_argument_value_error( in option_argument_value_error() function in cmdline::option_argument_value_error
123 cmdline::option_argument_value_error::~option_argument_value_error(void) in ~option_argument_value_error()
133 cmdline::option_argument_value_error::option(void) const in option()
143 cmdline::option_argument_value_error::argument(void) const in argument()
H A Dexceptions_test.cpp56 ATF_TEST_CASE_WITHOUT_HEAD(option_argument_value_error);
57 ATF_TEST_CASE_BODY(option_argument_value_error) in ATF_TEST_CASE_BODY() argument
59 const cmdline::option_argument_value_error e("--the_option", "the value", in ATF_TEST_CASE_BODY()
81 ATF_ADD_TEST_CASE(tcs, option_argument_value_error); in ATF_INIT_TEST_CASES()
H A Dexceptions.hpp72 class option_argument_value_error : public usage_error { class
83 explicit option_argument_value_error(const std::string&, const std::string&,
85 ~option_argument_value_error(void) throw();
H A Doptions_test.cpp256 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("")); in ATF_TEST_CASE_BODY()
257 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("5a")); in ATF_TEST_CASE_BODY()
258 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("a5")); in ATF_TEST_CASE_BODY()
259 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("5 a")); in ATF_TEST_CASE_BODY()
260 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("5.0")); in ATF_TEST_CASE_BODY()
394 } catch (const cmdline::option_argument_value_error& e) { in ATF_TEST_CASE_BODY()
445 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("")); in ATF_TEST_CASE_BODY()
446 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("=")); in ATF_TEST_CASE_BODY()
447 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("a=")); in ATF_TEST_CASE_BODY()
448 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("=b")); in ATF_TEST_CASE_BODY()
H A Doptions.cpp312 throw cmdline::option_argument_value_error( in validate()
452 throw cmdline::option_argument_value_error(F("--%s") % long_name(), in validate()
517 throw cmdline::option_argument_value_error( in validate()
523 throw cmdline::option_argument_value_error( in validate()
528 throw cmdline::option_argument_value_error( in validate()
H A Dparser_test.cpp96 throw cmdline::option_argument_value_error(F("--%s") % long_name(), in validate()
626 } catch (const cmdline::option_argument_value_error& e) { in ATF_TEST_CASE_BODY()