Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp43 static void expectSameErrors(std::unordered_set<std::string> ExpectedMsgs, in expectSameErrors() argument
45 auto AnyErrorMsgMatch = [&ExpectedMsgs](std::string &&ErrorMsg) -> bool { in expectSameErrors()
46 for (auto ExpectedMsgItr = ExpectedMsgs.begin(), in expectSameErrors()
47 ExpectedMsgEnd = ExpectedMsgs.end(); in expectSameErrors()
50 ExpectedMsgs.erase(ExpectedMsgItr); in expectSameErrors()
65 } while (RemainingErrors && !ExpectedMsgs.empty()); in expectSameErrors()
67 EXPECT_TRUE(ExpectedMsgs.empty()) in expectSameErrors()
69 << toString(ExpectedMsgs); in expectSameErrors()
/external/llvm-project/llvm/unittests/DebugInfo/GSYM/
DGSYMTest.cpp35 void checkError(ArrayRef<std::string> ExpectedMsgs, Error Err) { in checkError() argument
40 ASSERT_LT(WhichMsg, ExpectedMsgs.size()); in checkError()
43 EXPECT_EQ(Actual.message(), ExpectedMsgs[WhichMsg++]); in checkError()
45 EXPECT_EQ(WhichMsg, ExpectedMsgs.size()); in checkError()