Lines Matching refs:Result
306 std::vector<std::string> Result = unescapeJsonCommandLine(""); in TEST() local
307 EXPECT_TRUE(Result.empty()); in TEST()
311 std::vector<std::string> Result = unescapeJsonCommandLine("a b c"); in TEST() local
312 ASSERT_EQ(3ul, Result.size()); in TEST()
313 EXPECT_EQ("a", Result[0]); in TEST()
314 EXPECT_EQ("b", Result[1]); in TEST()
315 EXPECT_EQ("c", Result[2]); in TEST()
319 std::vector<std::string> Result = unescapeJsonCommandLine(" a b "); in TEST() local
320 ASSERT_EQ(2ul, Result.size()); in TEST()
321 EXPECT_EQ("a", Result[0]); in TEST()
322 EXPECT_EQ("b", Result[1]); in TEST()
335 std::vector<std::string> Result = unescapeJsonCommandLine("\\\" a b \\\""); in TEST() local
336 ASSERT_EQ(1ul, Result.size()); in TEST()
337 EXPECT_EQ(" a b ", Result[0]); in TEST()
341 std::vector<std::string> Result = unescapeJsonCommandLine( in TEST() local
343 ASSERT_EQ(2ul, Result.size()); in TEST()
344 EXPECT_EQ(" a ", Result[0]); in TEST()
345 EXPECT_EQ(" b ", Result[1]); in TEST()
349 std::vector<std::string> Result = unescapeJsonCommandLine( in TEST() local
351 ASSERT_EQ(1ul, Result.size()); in TEST()
352 EXPECT_TRUE(Result[0].empty()) << Result[0]; in TEST()
356 std::vector<std::string> Result = unescapeJsonCommandLine( in TEST() local
358 ASSERT_EQ(1ul, Result.size()); in TEST()
359 EXPECT_EQ("\"", Result[0]); in TEST()
363 std::vector<std::string> Result = unescapeJsonCommandLine( in TEST() local
365 ASSERT_EQ(4ul, Result.size()); in TEST()
366 EXPECT_EQ("\"", Result[0]); in TEST()
367 EXPECT_EQ("a \" b ", Result[1]); in TEST()
368 EXPECT_EQ("and\\c", Result[2]); in TEST()
369 EXPECT_EQ("\"", Result[3]); in TEST()
405 std::vector<CompileCommand> Result = in TEST() local
407 ASSERT_EQ(1ul, Result.size()); in TEST()
412 EXPECT_EQ(".", Result[0].Directory); in TEST()
413 EXPECT_EQ(ExpectedCommandLine, Result[0].CommandLine); in TEST()
459 std::vector<CompileCommand> Result = in TEST() local
461 ASSERT_EQ(1ul, Result.size()); in TEST()
462 ASSERT_EQ(".", Result[0].Directory); in TEST()
468 ASSERT_EQ(CommandLine, Result[0].CommandLine); in TEST()
478 std::vector<CompileCommand> Result = in TEST() local
480 ASSERT_EQ(1ul, Result.size()); in TEST()
481 ASSERT_EQ(".", Result[0].Directory); in TEST()
485 ASSERT_EQ(CommandLine, Result[0].CommandLine); in TEST()
495 std::vector<CompileCommand> Result = in TEST() local
497 ASSERT_EQ(1ul, Result.size()); in TEST()
498 ASSERT_EQ(".", Result[0].Directory); in TEST()
504 ASSERT_EQ(Expected, Result[0].CommandLine); in TEST()
514 std::vector<CompileCommand> Result = in TEST() local
516 ASSERT_EQ(1ul, Result.size()); in TEST()
517 ASSERT_EQ(".", Result[0].Directory); in TEST()
521 ASSERT_EQ(Expected, Result[0].CommandLine); in TEST()