Lines Matching refs:Commands
98 std::vector<CompileCommand> Commands = getAllCompileCommands( in TEST() local
106 EXPECT_EQ(2U, Commands.size()) << ErrorMessage; in TEST()
107 EXPECT_EQ(Directory1, Commands[0].Directory) << ErrorMessage; in TEST()
108 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST()
109 EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage; in TEST()
110 EXPECT_EQ(Directory2, Commands[1].Directory) << ErrorMessage; in TEST()
111 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST()
112 EXPECT_EQ(Command2, Commands[1].CommandLine[0]) << ErrorMessage; in TEST()
122 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase() local
123 EXPECT_LE(Commands.size(), 1u); in findCompileArgsInJsonDatabase()
124 if (Commands.empty()) in findCompileArgsInJsonDatabase()
126 return Commands[0]; in findCompileArgsInJsonDatabase()