• Home
  • Raw
  • Download

Lines Matching refs:FILE_PATH_LITERAL

24     FILE_PATH_LITERAL("q\\\"bs1\\bs2\\\\bs3q\\\\\\\"");
28 FILE_PATH_LITERAL("q\"bs1\\bs2\\\\bs3q\\\"");
32 FILE_PATH_LITERAL("program"), in TEST()
33 FILE_PATH_LITERAL("--foo="), in TEST()
34 FILE_PATH_LITERAL("-bAr"), in TEST()
35 FILE_PATH_LITERAL("-spaetzel=pierogi"), in TEST()
36 FILE_PATH_LITERAL("-baz"), in TEST()
37 FILE_PATH_LITERAL("flim"), in TEST()
38 FILE_PATH_LITERAL("--other-switches=--dog=canine --cat=feline"), in TEST()
39 FILE_PATH_LITERAL("-spaetzle=Crepe"), in TEST()
40 FILE_PATH_LITERAL("-=loosevalue"), in TEST()
41 FILE_PATH_LITERAL("-"), in TEST()
42 FILE_PATH_LITERAL("FLAN"), in TEST()
43 FILE_PATH_LITERAL("a"), in TEST()
44 FILE_PATH_LITERAL("--input-translation=45--output-rotation"), in TEST()
45 FILE_PATH_LITERAL("--"), in TEST()
46 FILE_PATH_LITERAL("--"), in TEST()
47 FILE_PATH_LITERAL("--not-a-switch"), in TEST()
48 FILE_PATH_LITERAL("\"in the time of submarines...\""), in TEST()
49 FILE_PATH_LITERAL("unquoted arg-with-space")}; in TEST()
62 EXPECT_EQ(FilePath(FILE_PATH_LITERAL("program")).value(), in TEST()
88 EXPECT_EQ(FILE_PATH_LITERAL("flim"), *iter); in TEST()
90 EXPECT_EQ(FILE_PATH_LITERAL("-"), *iter); in TEST()
92 EXPECT_EQ(FILE_PATH_LITERAL("FLAN"), *iter); in TEST()
94 EXPECT_EQ(FILE_PATH_LITERAL("a"), *iter); in TEST()
96 EXPECT_EQ(FILE_PATH_LITERAL("--"), *iter); in TEST()
98 EXPECT_EQ(FILE_PATH_LITERAL("--not-a-switch"), *iter); in TEST()
100 EXPECT_EQ(FILE_PATH_LITERAL("\"in the time of submarines...\""), *iter); in TEST()
102 EXPECT_EQ(FILE_PATH_LITERAL("unquoted arg-with-space"), *iter); in TEST()
128 EXPECT_EQ(FilePath(FILE_PATH_LITERAL("program")).value(), in TEST()
152 EXPECT_EQ(FILE_PATH_LITERAL("flim"), *iter); in TEST()
154 EXPECT_EQ(FILE_PATH_LITERAL("FLAN"), *iter); in TEST()
156 EXPECT_EQ(FILE_PATH_LITERAL("--"), *iter); in TEST()
158 EXPECT_EQ(FILE_PATH_LITERAL("--not-a-switch"), *iter); in TEST()
160 EXPECT_EQ(FILE_PATH_LITERAL("in the time of submarines..."), *iter); in TEST()
188 FILE_PATH_LITERAL("C:\\Some File\\With Spaces.ggg"); in TEST()
190 FILE_PATH_LITERAL("C:\\no\\spaces.ggg"); in TEST()
220 #define QUOTE_ON_WIN FILE_PATH_LITERAL("\"") in TEST()
222 #define QUOTE_ON_WIN FILE_PATH_LITERAL("") in TEST()
226 expected_str.append(FILE_PATH_LITERAL("--")) in TEST()
228 .append(FILE_PATH_LITERAL("=")) in TEST()
232 .append(FILE_PATH_LITERAL(" ")) in TEST()
233 .append(FILE_PATH_LITERAL("--")) in TEST()
235 .append(FILE_PATH_LITERAL("=")) in TEST()
239 .append(FILE_PATH_LITERAL(" ")) in TEST()
243 .append(FILE_PATH_LITERAL(" ")) in TEST()
245 .append(FILE_PATH_LITERAL(" ")); in TEST()
273 CommandLine cl(FilePath(FILE_PATH_LITERAL("Program"))); in TEST()
307 const CommandLine::CharType* raw_argv[] = { FILE_PATH_LITERAL("prog"), in TEST()
308 FILE_PATH_LITERAL("--"), in TEST()
309 FILE_PATH_LITERAL("--arg1") }; in TEST()
317 EXPECT_EQ(FILE_PATH_LITERAL("prog --switch1 --switch2=foo -- --arg1 --arg2"), in TEST()
320 EXPECT_EQ(FILE_PATH_LITERAL("prog"), cl_argv[0]); in TEST()
321 EXPECT_EQ(FILE_PATH_LITERAL("--switch1"), cl_argv[1]); in TEST()
322 EXPECT_EQ(FILE_PATH_LITERAL("--switch2=foo"), cl_argv[2]); in TEST()
323 EXPECT_EQ(FILE_PATH_LITERAL("--"), cl_argv[3]); in TEST()
324 EXPECT_EQ(FILE_PATH_LITERAL("--arg1"), cl_argv[4]); in TEST()
325 EXPECT_EQ(FILE_PATH_LITERAL("--arg2"), cl_argv[5]); in TEST()
332 CommandLine cl1(FilePath(FILE_PATH_LITERAL("Program"))); in TEST()
341 CommandLine c1(FilePath(FILE_PATH_LITERAL("Program1"))); in TEST()
343 CommandLine c2(FilePath(FILE_PATH_LITERAL("Program2"))); in TEST()
410 CommandLine cl(FilePath(FILE_PATH_LITERAL("Program"))); in TEST()
413 cl.PrependWrapper(FILE_PATH_LITERAL("wrapper --foo --bar")); in TEST()
416 EXPECT_EQ(FILE_PATH_LITERAL("wrapper"), cl.argv()[0]); in TEST()
417 EXPECT_EQ(FILE_PATH_LITERAL("--foo"), cl.argv()[1]); in TEST()
418 EXPECT_EQ(FILE_PATH_LITERAL("--bar"), cl.argv()[2]); in TEST()
419 EXPECT_EQ(FILE_PATH_LITERAL("Program"), cl.argv()[3]); in TEST()
420 EXPECT_EQ(FILE_PATH_LITERAL("--a"), cl.argv()[4]); in TEST()
421 EXPECT_EQ(FILE_PATH_LITERAL("--b"), cl.argv()[5]); in TEST()
425 CommandLine cl(FilePath(FILE_PATH_LITERAL("Program"))); in TEST()
429 FILE_PATH_LITERAL("wrapper --foo='hello world' --bar=\"let's go\"")); in TEST()
432 EXPECT_EQ(FILE_PATH_LITERAL("wrapper"), cl.argv()[0]); in TEST()
433 EXPECT_EQ(FILE_PATH_LITERAL("--foo='hello world'"), cl.argv()[1]); in TEST()
434 EXPECT_EQ(FILE_PATH_LITERAL("--bar=\"let's go\""), cl.argv()[2]); in TEST()
435 EXPECT_EQ(FILE_PATH_LITERAL("Program"), cl.argv()[3]); in TEST()
436 EXPECT_EQ(FILE_PATH_LITERAL("--a"), cl.argv()[4]); in TEST()
437 EXPECT_EQ(FILE_PATH_LITERAL("--b"), cl.argv()[5]); in TEST()