Lines Matching refs:FILE_PATH_LITERAL
23 FILE_PATH_LITERAL("q\\\"bs1\\bs2\\\\bs3q\\\\\\\"");
27 FILE_PATH_LITERAL("q\"bs1\\bs2\\\\bs3q\\\"");
31 FILE_PATH_LITERAL("program"), in TEST()
32 FILE_PATH_LITERAL("--foo="), in TEST()
33 FILE_PATH_LITERAL("-bAr"), in TEST()
34 FILE_PATH_LITERAL("-spaetzel=pierogi"), in TEST()
35 FILE_PATH_LITERAL("-baz"), in TEST()
36 FILE_PATH_LITERAL("flim"), in TEST()
37 FILE_PATH_LITERAL("--other-switches=--dog=canine --cat=feline"), in TEST()
38 FILE_PATH_LITERAL("-spaetzle=Crepe"), in TEST()
39 FILE_PATH_LITERAL("-=loosevalue"), in TEST()
40 FILE_PATH_LITERAL("-"), in TEST()
41 FILE_PATH_LITERAL("FLAN"), in TEST()
42 FILE_PATH_LITERAL("a"), in TEST()
43 FILE_PATH_LITERAL("--input-translation=45--output-rotation"), in TEST()
44 FILE_PATH_LITERAL("--"), in TEST()
45 FILE_PATH_LITERAL("--"), in TEST()
46 FILE_PATH_LITERAL("--not-a-switch"), in TEST()
47 FILE_PATH_LITERAL("\"in the time of submarines...\""), in TEST()
48 FILE_PATH_LITERAL("unquoted arg-with-space")}; in TEST()
61 EXPECT_EQ(FilePath(FILE_PATH_LITERAL("program")).value(), in TEST()
87 EXPECT_EQ(FILE_PATH_LITERAL("flim"), *iter); in TEST()
89 EXPECT_EQ(FILE_PATH_LITERAL("-"), *iter); in TEST()
91 EXPECT_EQ(FILE_PATH_LITERAL("FLAN"), *iter); in TEST()
93 EXPECT_EQ(FILE_PATH_LITERAL("a"), *iter); in TEST()
95 EXPECT_EQ(FILE_PATH_LITERAL("--"), *iter); in TEST()
97 EXPECT_EQ(FILE_PATH_LITERAL("--not-a-switch"), *iter); in TEST()
99 EXPECT_EQ(FILE_PATH_LITERAL("\"in the time of submarines...\""), *iter); in TEST()
101 EXPECT_EQ(FILE_PATH_LITERAL("unquoted arg-with-space"), *iter); in TEST()
127 EXPECT_EQ(FilePath(FILE_PATH_LITERAL("program")).value(), in TEST()
151 EXPECT_EQ(FILE_PATH_LITERAL("flim"), *iter); in TEST()
153 EXPECT_EQ(FILE_PATH_LITERAL("FLAN"), *iter); in TEST()
155 EXPECT_EQ(FILE_PATH_LITERAL("--"), *iter); in TEST()
157 EXPECT_EQ(FILE_PATH_LITERAL("--not-a-switch"), *iter); in TEST()
159 EXPECT_EQ(FILE_PATH_LITERAL("in the time of submarines..."), *iter); in TEST()
187 FILE_PATH_LITERAL("C:\\Some File\\With Spaces.ggg"); in TEST()
189 FILE_PATH_LITERAL("C:\\no\\spaces.ggg"); in TEST()
219 #define QUOTE_ON_WIN FILE_PATH_LITERAL("\"") in TEST()
221 #define QUOTE_ON_WIN FILE_PATH_LITERAL("") in TEST()
225 expected_str.append(FILE_PATH_LITERAL("--")) in TEST()
227 .append(FILE_PATH_LITERAL("=")) in TEST()
231 .append(FILE_PATH_LITERAL(" ")) in TEST()
232 .append(FILE_PATH_LITERAL("--")) in TEST()
234 .append(FILE_PATH_LITERAL("=")) in TEST()
238 .append(FILE_PATH_LITERAL(" ")) in TEST()
242 .append(FILE_PATH_LITERAL(" ")) in TEST()
244 .append(FILE_PATH_LITERAL(" ")); in TEST()
272 CommandLine cl(FilePath(FILE_PATH_LITERAL("Program"))); in TEST()
306 const CommandLine::CharType* raw_argv[] = { FILE_PATH_LITERAL("prog"), in TEST()
307 FILE_PATH_LITERAL("--"), in TEST()
308 FILE_PATH_LITERAL("--arg1") }; in TEST()
316 EXPECT_EQ(FILE_PATH_LITERAL("prog --switch1 --switch2=foo -- --arg1 --arg2"), in TEST()
319 EXPECT_EQ(FILE_PATH_LITERAL("prog"), cl_argv[0]); in TEST()
320 EXPECT_EQ(FILE_PATH_LITERAL("--switch1"), cl_argv[1]); in TEST()
321 EXPECT_EQ(FILE_PATH_LITERAL("--switch2=foo"), cl_argv[2]); in TEST()
322 EXPECT_EQ(FILE_PATH_LITERAL("--"), cl_argv[3]); in TEST()
323 EXPECT_EQ(FILE_PATH_LITERAL("--arg1"), cl_argv[4]); in TEST()
324 EXPECT_EQ(FILE_PATH_LITERAL("--arg2"), cl_argv[5]); in TEST()
331 CommandLine cl1(FilePath(FILE_PATH_LITERAL("Program"))); in TEST()
340 CommandLine c1(FilePath(FILE_PATH_LITERAL("Program1"))); in TEST()
342 CommandLine c2(FilePath(FILE_PATH_LITERAL("Program2"))); in TEST()