Lines Matching refs:CommandLine
115 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST()
116 EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage; in TEST()
119 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST()
120 EXPECT_EQ(Command2, Commands[1].CommandLine[0]) << ErrorMessage; in TEST()
134 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST()
135 EXPECT_EQ(Command2, Commands[0].CommandLine[0]) << ErrorMessage; in TEST()
138 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST()
139 EXPECT_EQ(Command1, Commands[1].CommandLine[0]) << ErrorMessage; in TEST()
171 EXPECT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST()
172 EXPECT_EQ(Arguments, FoundCommand.CommandLine[0]) << ErrorMessage; in TEST()
255 EXPECT_TRUE(NotFound.CommandLine.empty()) << ErrorMessage; in TEST()
271 ASSERT_EQ(4u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST()
273 FoundCommand.CommandLine[0]) << ErrorMessage; in TEST()
274 EXPECT_EQ("and", FoundCommand.CommandLine[1]) << ErrorMessage; in TEST()
275 EXPECT_EQ("some", FoundCommand.CommandLine[2]) << ErrorMessage; in TEST()
276 EXPECT_EQ("arguments", FoundCommand.CommandLine[3]) << ErrorMessage; in TEST()
285 EXPECT_TRUE(NotFound.CommandLine.empty()) << ErrorMessage; in TEST()
299 ASSERT_EQ(2u, FoundCommand.CommandLine.size()); in TEST()
301 FoundCommand.CommandLine[0]) << ErrorMessage; in TEST()
302 EXPECT_EQ("and an argument", FoundCommand.CommandLine[1]) << ErrorMessage; in TEST()
336 ASSERT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST()
337 EXPECT_EQ("command4", FoundCommand.CommandLine[0]) << ErrorMessage; in TEST()
348 return FoundCommand.CommandLine; in unescapeJsonCommandLine()
447 std::vector<std::string> CommandLine; in TEST() local
448 CommandLine.push_back("one"); in TEST()
449 CommandLine.push_back("two"); in TEST()
450 FixedCompilationDatabase Database(".", CommandLine); in TEST()
457 CommandLine.begin(), CommandLine.end()); in TEST()
461 EXPECT_EQ(ExpectedCommandLine, Result[0].CommandLine); in TEST()
465 std::vector<std::string> CommandLine; in TEST() local
466 CommandLine.push_back("one"); in TEST()
467 CommandLine.push_back("two"); in TEST()
468 FixedCompilationDatabase Database(".", CommandLine); in TEST()
474 std::vector<std::string> CommandLine; in TEST() local
475 CommandLine.push_back("one"); in TEST()
476 CommandLine.push_back("two"); in TEST()
477 FixedCompilationDatabase Database(".", CommandLine); in TEST()
511 std::vector<std::string> CommandLine; in TEST() local
512 CommandLine.push_back("clang-tool"); in TEST()
513 CommandLine.push_back("-DDEF3"); in TEST()
514 CommandLine.push_back("-DDEF4"); in TEST()
515 CommandLine.push_back("source"); in TEST()
516 ASSERT_EQ(CommandLine, Result[0].CommandLine); in TEST()
530 std::vector<std::string> CommandLine; in TEST() local
531 CommandLine.push_back("clang-tool"); in TEST()
532 CommandLine.push_back("source"); in TEST()
533 ASSERT_EQ(CommandLine, Result[0].CommandLine); in TEST()
552 ASSERT_EQ(Expected, Result[0].CommandLine); in TEST()
569 ASSERT_EQ(Expected, Result[0].CommandLine); in TEST()