reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
715 ASSERT_FALSE(computeSkippedRanges(Toks, Ranges)); 716 EXPECT_EQ(Ranges.size(), 4u); 717 EXPECT_EQ(Ranges[0].Offset, (int)Out.find("#if FOO")); 718 EXPECT_EQ(Ranges[0].Offset + Ranges[0].Length, (int)Out.find("#elif")); 718 EXPECT_EQ(Ranges[0].Offset + Ranges[0].Length, (int)Out.find("#elif")); 719 EXPECT_EQ(Ranges[1].Offset, (int)Out.find("#elif BAR")); 720 EXPECT_EQ(Ranges[1].Offset + Ranges[1].Length, (int)Out.find("#endif")); 720 EXPECT_EQ(Ranges[1].Offset + Ranges[1].Length, (int)Out.find("#endif")); 721 EXPECT_EQ(Ranges[2].Offset, 0); 722 EXPECT_EQ(Ranges[2].Length, (int)Out.find("#else")); 723 EXPECT_EQ(Ranges[3].Offset, (int)Out.find("#else")); 724 EXPECT_EQ(Ranges[3].Offset + Ranges[3].Length, (int)Out.rfind("#endif")); 724 EXPECT_EQ(Ranges[3].Offset + Ranges[3].Length, (int)Out.rfind("#endif"));