Lines Matching refs:opts

43   CommandLineOptions opts =  in TEST()  local
46 auto success = opts.Parse({"--foo", "--bar"}); in TEST()
52 success = opts.Parse({"--foo"}); in TEST()
61 CommandLineOptions opts = CommandLineOptions("test") in TEST() local
64 auto success = opts.Parse({"--foo", "FOO", "--bar", "BAR"}); in TEST()
69 success = opts.Parse({"--foo"}); in TEST()
75 CommandLineOptions opts = CommandLineOptions("test").MandatoryOption("--foo", "", &foo); in TEST() local
76 auto success = opts.Parse({"--foo", "FIRST", "--foo", "SECOND"}); in TEST()
83 CommandLineOptions opts = CommandLineOptions("test").MandatoryOption("--foo", "", &args); in TEST() local
84 auto success = opts.Parse({"--foo", "FOO", "--foo", "BAR"}); in TEST()
94 CommandLineOptions opts = CommandLineOptions("test") in TEST() local
97 auto success = opts.Parse({"--foo", "FOO", "--bar", "BAR"}); in TEST()
102 success = opts.Parse({"--foo", "BAZ"}); in TEST()
106 success = opts.Parse({"--foo"}); in TEST()
109 success = opts.Parse({"--foo", "--bar", "BAR"}); in TEST()
112 success = opts.Parse({"--foo", "FOO", "--bar"}); in TEST()
119 CommandLineOptions opts = CommandLineOptions("test") in TEST() local
122 auto success = opts.Parse({"--foo", "FOO", "--bar", "BAR"}); in TEST()
131 success = opts.Parse({"--foo", "BAZ"}); in TEST()
139 success = opts.Parse({"--foo", "BAZ", "--foo", "BIZ", "--bar", "FIZ", "--bar", "FUZZ"}); in TEST()
150 success = opts.Parse({"--foo"}); in TEST()
155 success = opts.Parse({"--foo", "--bar", "BAR"}); in TEST()
160 success = opts.Parse({"--foo", "FOO", "--bar"}); in TEST()
168 CommandLineOptions opts = CommandLineOptions("test") in TEST() local
172 auto success = opts.Parse({"--unexpected"}); in TEST()
175 success = opts.Parse({"--bar", "BAR"}); in TEST()
178 success = opts.Parse({"--baz", "--foo", "FOO"}); in TEST()
215 CommandLineOptions opts = CommandLineOptions("test") in TEST() local
225 opts.Usage(stream); in TEST()