Home
last modified time | relevance | path

Searched refs:FoundCommand (Results 1 – 2 of 2) sorted by relevance

/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp163 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST() local
170 EXPECT_EQ(Directory, FoundCommand.Directory) << ErrorMessage; in TEST()
171 EXPECT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST()
172 EXPECT_EQ(Arguments, FoundCommand.CommandLine[0]) << ErrorMessage; in TEST()
264 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST() local
270 EXPECT_EQ(Directory, FoundCommand.Directory) << 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()
[all …]
/external/llvm-project/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp198 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST() local
205 EXPECT_EQ(Directory, FoundCommand.Directory) << ErrorMessage; in TEST()
206 EXPECT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST()
207 EXPECT_EQ(Arguments, FoundCommand.CommandLine[0]) << ErrorMessage; in TEST()
308 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST() local
314 EXPECT_EQ(Directory, FoundCommand.Directory) << ErrorMessage; in TEST()
315 ASSERT_EQ(4u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST()
317 FoundCommand.CommandLine[0]) << ErrorMessage; in TEST()
318 EXPECT_EQ("and", FoundCommand.CommandLine[1]) << ErrorMessage; in TEST()
319 EXPECT_EQ("some", FoundCommand.CommandLine[2]) << ErrorMessage; in TEST()
[all …]