Home | History | Annotate | Download | only in tests

Lines Matching refs:match

18     REPORTER_ASSERT(r, !pattern.match(&record, 0));
22 // Build up a save-clip-restore block. The pattern will match only it's complete.
24 REPORTER_ASSERT(r, !pattern.match(&record, 0));
27 REPORTER_ASSERT(r, !pattern.match(&record, 0));
30 REPORTER_ASSERT(r, pattern.match(&record, 0));
49 // We should match only at 0 and 3. Going over the length should fail gracefully.
52 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3);
54 REPORTER_ASSERT(r, !pattern.match(&record, i));
70 REPORTER_ASSERT(r, !pattern.match(&record, 0));
81 REPORTER_ASSERT(r, pattern.match(&record, 0));
86 REPORTER_ASSERT(r, pattern.match(&record, 2));
92 REPORTER_ASSERT(r, pattern.match(&record, 5));
105 REPORTER_ASSERT(r, !pattern.match(&record, 0));
119 REPORTER_ASSERT(r, pattern.match(&record, 3));
124 REPORTER_ASSERT(r, pattern.match(&record, 6));
142 REPORTER_ASSERT(r, pattern.match(&record, 0) == 2);
148 REPORTER_ASSERT(r, !pattern.match(&record, 2));
149 REPORTER_ASSERT(r, pattern.match(&record, 3) == 5);
154 REPORTER_ASSERT(r, pattern.match(&record, 6) == 9);
160 REPORTER_ASSERT(r, !pattern.match(&record, 9));
168 REPORTER_ASSERT(r, pattern.match(&record, 13) == 19);
198 REPORTER_ASSERT(r, !pattern.match(&record, 0));