Home
last modified time | relevance | path

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

/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp340 static std::vector<std::string> unescapeJsonCommandLine(StringRef Command) { in unescapeJsonCommandLine() function
351 TEST(unescapeJsonCommandLine, ReturnsEmptyArrayOnEmptyString) { in TEST() argument
352 std::vector<std::string> Result = unescapeJsonCommandLine(""); in TEST()
356 TEST(unescapeJsonCommandLine, SplitsOnSpaces) { in TEST() argument
357 std::vector<std::string> Result = unescapeJsonCommandLine("a b c"); in TEST()
364 TEST(unescapeJsonCommandLine, MungesMultipleSpaces) { in TEST() argument
365 std::vector<std::string> Result = unescapeJsonCommandLine(" a b "); in TEST()
371 TEST(unescapeJsonCommandLine, UnescapesBackslashCharacters) { in TEST() argument
372 std::vector<std::string> Backslash = unescapeJsonCommandLine("a\\\\\\\\"); in TEST()
375 std::vector<std::string> Quote = unescapeJsonCommandLine("a\\\\\\\""); in TEST()
[all …]