Lines Matching refs:findExpanded
240 llvm::ArrayRef<syntax::Token> findExpanded(llvm::StringRef Query) { in findExpanded() function in __anonedbc82220111::TokenCollectorTest
636 EXPECT_THAT(findExpanded("a1 a2"), Not(SameRange(findSpelled("a1 a2")))); in TEST_F()
639 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1 a2 a3 b1 b2")), in TEST_F()
641 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1 a2 a3")), in TEST_F()
643 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("b1 b2")), in TEST_F()
654 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1 a2 a3 split b1 b2")), in TEST_F()
656 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1 a2 a3")), in TEST_F()
658 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("b1 b2")), in TEST_F()
661 EXPECT_EQ(Buffer.spelledForExpanded(findExpanded("a1 a2")), llvm::None); in TEST_F()
662 EXPECT_EQ(Buffer.spelledForExpanded(findExpanded("b2")), llvm::None); in TEST_F()
663 EXPECT_EQ(Buffer.spelledForExpanded(findExpanded("a2 a3 split b1 b2")), in TEST_F()
674 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("b1 b2")), in TEST_F()
676 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1 a2 a3 split b1 b2")), in TEST_F()
681 Buffer.spelledForExpanded(findExpanded("a1 a2 a3 split")), in TEST_F()
683 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("split b1 b2")), in TEST_F()
686 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1")), in TEST_F()
688 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a2")), in TEST_F()
690 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a3")), in TEST_F()
692 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1 a2")), in TEST_F()
694 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1 a2 a3")), in TEST_F()
706 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("1 2 3")), in TEST_F()
708 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("4 5 6")), in TEST_F()
710 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("7 8 9")), in TEST_F()
720 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("not_mapped")), in TEST_F()
731 EXPECT_EQ(Buffer.spelledForExpanded(findExpanded("a1 a2")), llvm::None); in TEST_F()
732 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a2 a3")), in TEST_F()
735 Buffer.spelledForExpanded(findExpanded("a1 a2 a3")), in TEST_F()
737 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a5 a6")), in TEST_F()
739 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a4 a5 a6 a7")), in TEST_F()
742 EXPECT_EQ(Buffer.spelledForExpanded(findExpanded("a1 a2 a3 a4")), llvm::None); in TEST_F()
751 SourceRange R(findExpanded("C").front().location(), in TEST_F()
752 findExpanded("F_washere").front().location()); in TEST_F()
755 SameRange(findExpanded("C D_washere E F_washere"))); in TEST_F()
771 SameRange(findExpanded("3 + 4 1").drop_back())))); in TEST_F()
775 SameRange(findExpanded("3 + 4 1").drop_back())))); in TEST_F()
781 SameRange(findExpanded("3 + 4 2").drop_back())))); in TEST_F()
797 SameRange(findExpanded("1 + 2 + 3"))))); in TEST_F()
805 SameRange(findExpanded("2 + 3 + 4"))))); in TEST_F()
827 SameRange(findExpanded("int a").take_front(0))))); in TEST_F()
836 SameRange(findExpanded("int b").take_front(0))))); in TEST_F()
859 auto Int = findExpanded("int").front(); in TEST_F()
860 auto Semi = findExpanded(";").front(); in TEST_F()
938 EXPECT_THAT(findExpanded("a1 a2"), Not(SameRange(findSpelled("a1 a2")))); in TEST_F()
942 ElementsAre(SameRange(findExpanded("a1 a2 a3 b1 b2")))); in TEST_F()
944 ElementsAre(SameRange(findExpanded("a1 a2 a3")))); in TEST_F()
946 ElementsAre(SameRange(findExpanded("b1 b2")))); in TEST_F()
956 ElementsAre(SameRange(findExpanded("a1 a2 a3 split b1 b2")))); in TEST_F()
958 ElementsAre(SameRange(findExpanded("a1 a2 a3")))); in TEST_F()
960 ElementsAre(SameRange(findExpanded("b1 b2")))); in TEST_F()
983 ElementsAre(SameRange(findExpanded("a1 a2 a3")))); in TEST_F()
985 ElementsAre(SameRange(findExpanded("b1 b2")))); in TEST_F()
988 ElementsAre(SameRange(findExpanded("a1 a2 a3 split b1 b2")))); in TEST_F()
1005 ElementsAre(SameRange(findExpanded("1 2 3")))); in TEST_F()
1007 ElementsAre(SameRange(findExpanded("4 5 6")))); in TEST_F()
1009 ElementsAre(SameRange(findExpanded("7 8 9")))); in TEST_F()
1012 ElementsAre(SameRange(findExpanded("1 2 3")))); in TEST_F()
1014 ElementsAre(SameRange(findExpanded("1 2 3")))); in TEST_F()
1017 ElementsAre(SameRange(findExpanded("1 2 3")))); in TEST_F()