Lines Matching refs:string_option
62 using cmdline::string_option;
252 const string_option a('a', "a_option", "Foo", NULL); in ATF_TEST_CASE_BODY()
253 const string_option b('b', "b_option", "Bar", "arg", "foo"); in ATF_TEST_CASE_BODY()
254 const string_option c("c_option", "Baz", NULL); in ATF_TEST_CASE_BODY()
255 const string_option d("d_option", "Wohoo", "arg", "bar"); in ATF_TEST_CASE_BODY()
263 ATF_REQUIRE_EQ("foo", cmdline.get_option< string_option >("b_option")); in ATF_TEST_CASE_BODY()
264 ATF_REQUIRE_EQ("bar", cmdline.get_option< string_option >("d_option")); in ATF_TEST_CASE_BODY()
292 const string_option c('c', "opt", "Description", NULL); in ATF_TEST_CASE_BODY()
326 const string_option b('b', "b_long", "Description", "arg"); in ATF_TEST_CASE_BODY()
327 const string_option c('c', "c_long", "ABCD", "foo"); in ATF_TEST_CASE_BODY()
328 const string_option d('d', "d_long", "Description", "bar", "default_d"); in ATF_TEST_CASE_BODY()
329 const string_option e('e', "e_long", "Description", "baz", "default_e"); in ATF_TEST_CASE_BODY()
331 const string_option g("g_long", "Description", "arg"); in ATF_TEST_CASE_BODY()
332 const string_option h("h_long", "Description", "foo"); in ATF_TEST_CASE_BODY()
333 const string_option i("i_long", "EFGH", "bar", "default_i"); in ATF_TEST_CASE_BODY()
334 const string_option j("j_long", "Description", "baz", "default_j"); in ATF_TEST_CASE_BODY()
349 ATF_REQUIRE_EQ("value_b", cmdline.get_option< string_option >("b_long")); in ATF_TEST_CASE_BODY()
350 ATF_REQUIRE_EQ("value_c", cmdline.get_option< string_option >("c_long")); in ATF_TEST_CASE_BODY()
351 ATF_REQUIRE_EQ("default_d", cmdline.get_option< string_option >("d_long")); in ATF_TEST_CASE_BODY()
352 ATF_REQUIRE_EQ("value_e", cmdline.get_option< string_option >("e_long")); in ATF_TEST_CASE_BODY()
354 ATF_REQUIRE_EQ("value_g", cmdline.get_option< string_option >("g_long")); in ATF_TEST_CASE_BODY()
355 ATF_REQUIRE_EQ("value_h", cmdline.get_option< string_option >("h_long")); in ATF_TEST_CASE_BODY()
356 ATF_REQUIRE_EQ("default_i", cmdline.get_option< string_option >("i_long")); in ATF_TEST_CASE_BODY()
357 ATF_REQUIRE_EQ("value_j", cmdline.get_option< string_option >("j_long")); in ATF_TEST_CASE_BODY()
379 const string_option b('b', "b_long", "Description", "arg"); in ATF_TEST_CASE_BODY()
396 ATF_REQUIRE_EQ("value3", cmdline.get_option< string_option >("b_long")); in ATF_TEST_CASE_BODY()
398 cmdline.get_multi_option< string_option >("b_long"); in ATF_TEST_CASE_BODY()
442 const string_option flag1('a', "flag1", "Description", "arg"); in ATF_TEST_CASE_BODY()
443 const string_option flag2('b', "flag2", "Description", "arg"); in ATF_TEST_CASE_BODY()
468 const string_option flag2('b', "flag2", "Description", "arg"); in ATF_TEST_CASE_BODY()
469 const string_option flag3('c', "flag2", "Description", "arg"); in ATF_TEST_CASE_BODY()
494 const string_option flag1("flag1", "Description", "arg"); in ATF_TEST_CASE_BODY()
495 const string_option flag2("flag2", "Description", "arg"); in ATF_TEST_CASE_BODY()
559 const string_option flag1("flag1", "Description", "arg"); in ATF_TEST_CASE_BODY()
596 const string_option flag1("flag1", "The flag1", "arg"); in ATF_TEST_CASE_BODY()
606 ATF_REQUIRE_EQ("a", cmdline.get_option< string_option >("flag1")); in ATF_TEST_CASE_BODY()