D | TokensTest.cpp | 82 MATCHER_P2(HasText, Text, SourceMgr, "") { 174 Matcher<syntax::Token> HasText(std::string Text) const { in HasText() function in __anon07bd6a9b0111::TokenCollectorTest 175 return ::HasText(Text, SourceMgr.get()); in HasText() 266 AllOf(HasText("main"), Kind(tok::identifier)), in TEST_F() 272 AllOf(HasText("a"), Kind(tok::identifier)), in TEST_F() 275 ElementsAre(AllOf(HasText("main"), Kind(tok::identifier)), in TEST_F() 279 ElementsAre(AllOf(HasText("main"), Kind(tok::identifier)), in TEST_F() 285 ElementsAre(AllOf(HasText("ain"), Kind(tok::identifier)), in TEST_F() 537 Contains(HasText("12"))); in TEST_F() 541 ElementsAre(AllOf(Kind(tok::kw_int), HasText("i\\\nn\\\nt")), in TEST_F()
|