Lines Matching refs:TEST
28 TEST(JSONCompilationDatabase, ErrsOnInvalidFormat) {
52 TEST(JSONCompilationDatabase, GetAllFiles) {
84 TEST(findCompileArgsInJsonDatabase, FindsNothingIfEmpty) {
92 TEST(findCompileArgsInJsonDatabase, ReadsSingleEntry) {
120 TEST(findCompileArgsInJsonDatabase, ReadsCompileCommandLinesWithSpaces) {
136 TEST(findCompileArgsInJsonDatabase, ReadsDirectoryWithSpaces) {
150 TEST(findCompileArgsInJsonDatabase, FindsEntry) {
173 ("[{\"directory\":\"\", \"file\":\"test\", \"command\": \"" +
177 "test", JsonDatabase, ErrorMessage);
182 TEST(unescapeJsonCommandLine, ReturnsEmptyArrayOnEmptyString) {
187 TEST(unescapeJsonCommandLine, SplitsOnSpaces) {
195 TEST(unescapeJsonCommandLine, MungesMultipleSpaces) {
202 TEST(unescapeJsonCommandLine, UnescapesBackslashCharacters) {
211 TEST(unescapeJsonCommandLine, DoesNotMungeSpacesBetweenQuotes) {
217 TEST(unescapeJsonCommandLine, AllowsMultipleQuotedArguments) {
225 TEST(unescapeJsonCommandLine, AllowsEmptyArgumentsInQuotes) {
232 TEST(unescapeJsonCommandLine, ParsesEscapedQuotesInQuotedStrings) {
239 TEST(unescapeJsonCommandLine, ParsesMultipleArgumentsWithEscapedCharacters) {
249 TEST(unescapeJsonCommandLine, ParsesStringsWithoutSpacesIntoSingleArgument) {
261 TEST(unescapeJsonCommandLine, ParsesQuotedStringWithoutClosingQuote) {
271 TEST(FixedCompilationDatabase, ReturnsFixedCommandLine) {
287 TEST(FixedCompilationDatabase, GetAllFiles) {
296 TEST(ParseFixedCompilationDatabase, ReturnsNullOnEmptyArgumentList) {
304 TEST(ParseFixedCompilationDatabase, ReturnsNullWithoutDoubleDash) {
313 TEST(ParseFixedCompilationDatabase, ReturnsArgumentsAfterDoubleDash) {
332 TEST(ParseFixedCompilationDatabase, ReturnsEmptyCommandLine) {