Lines Matching refs:PossibleMatchRange
16 // PossibleMatchRange doesn't depend on this, but callers probably will.
103 TEST(PossibleMatchRange, HandWritten) {
114 CHECK(prog->PossibleMatchRange(&min, &max, t.maxlen))
119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen));
127 // Test cases where PossibleMatchRange should return false.
128 TEST(PossibleMatchRange, Failures) {
132 EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0));
138 PossibleMatchRange(&min, &max, 10))
141 PossibleMatchRange(&min, &max, 10))
144 PossibleMatchRange(&min, &max, 10))
147 PossibleMatchRange(&min, &max, 10))
150 PossibleMatchRange(&min, &max, 10))
153 PossibleMatchRange(&min, &max, 10))
157 EXPECT_FALSE(RE2("*hello").PossibleMatchRange(&min, &max, 10))
203 if(!re.PossibleMatchRange(&min, &max, 10)) {
209 LOG(QFATAL) << "PossibleMatchRange failed on: " << CEscape(regexp);
223 TEST(PossibleMatchRange, Exhaustive) {