Lines Matching refs:ATF_REQUIRE
68 ATF_REQUIRE(filter.test_case.empty());
127 ATF_REQUIRE(f.contains(f));
131 ATF_REQUIRE(f.contains(f));
135 ATF_REQUIRE(f.contains(f));
146 ATF_REQUIRE( f1.contains(f2));
147 ATF_REQUIRE(!f2.contains(f1));
152 ATF_REQUIRE( f1.contains(f2));
153 ATF_REQUIRE(!f2.contains(f1));
158 ATF_REQUIRE(!f1.contains(f2));
159 ATF_REQUIRE(!f2.contains(f1));
164 ATF_REQUIRE( f1.contains(f2));
165 ATF_REQUIRE(!f2.contains(f1));
170 ATF_REQUIRE(!f1.contains(f2));
171 ATF_REQUIRE(!f2.contains(f1));
181 ATF_REQUIRE( f.matches_test_program(fs::path("top")));
182 ATF_REQUIRE(!f.matches_test_program(fs::path("top2")));
187 ATF_REQUIRE( f.matches_test_program(fs::path("dir1/dir2/foo")));
188 ATF_REQUIRE( f.matches_test_program(fs::path("dir1/dir2/bar")));
189 ATF_REQUIRE( f.matches_test_program(fs::path("dir1/dir2/bar/baz")));
190 ATF_REQUIRE( f.matches_test_program(fs::path("dir1/dir2/bar/baz")));
191 ATF_REQUIRE(!f.matches_test_program(fs::path("dir1")));
192 ATF_REQUIRE(!f.matches_test_program(fs::path("dir1/bar/baz")));
193 ATF_REQUIRE(!f.matches_test_program(fs::path("dir2/bar/baz")));
198 ATF_REQUIRE( f.matches_test_program(fs::path("dir1/dir2")));
199 ATF_REQUIRE(!f.matches_test_program(fs::path("dir1/dir2/foo")));
200 ATF_REQUIRE(!f.matches_test_program(fs::path("dir1/dir2/bar")));
201 ATF_REQUIRE(!f.matches_test_program(fs::path("dir1/dir2/bar/baz")));
202 ATF_REQUIRE(!f.matches_test_program(fs::path("dir1/dir2/bar/baz")));
203 ATF_REQUIRE(!f.matches_test_program(fs::path("dir1")));
204 ATF_REQUIRE(!f.matches_test_program(fs::path("dir1/bar/baz")));
205 ATF_REQUIRE(!f.matches_test_program(fs::path("dir2/bar/baz")));
215 ATF_REQUIRE( f.matches_test_case(fs::path("top"), "foo"));
216 ATF_REQUIRE(!f.matches_test_case(fs::path("top"), "bar"));
221 ATF_REQUIRE( f.matches_test_case(fs::path("top"), "foo"));
222 ATF_REQUIRE( f.matches_test_case(fs::path("top"), "bar"));
223 ATF_REQUIRE(!f.matches_test_case(fs::path("top2"), "foo"));
228 ATF_REQUIRE( f.matches_test_case(fs::path("d1/d2/prog"), "t1"));
229 ATF_REQUIRE(!f.matches_test_case(fs::path("d1/d2/prog"), "t2"));
234 ATF_REQUIRE( f.matches_test_case(fs::path("d1/d2/prog"), "t1"));
235 ATF_REQUIRE( f.matches_test_case(fs::path("d1/d2/prog"), "t2"));
236 ATF_REQUIRE( f.matches_test_case(fs::path("d1/d2/prog2"), "t2"));
237 ATF_REQUIRE(!f.matches_test_case(fs::path("d1/d3"), "foo"));
238 ATF_REQUIRE(!f.matches_test_case(fs::path("d2"), "foo"));
248 ATF_REQUIRE(!(f1 < f1));
253 ATF_REQUIRE( (f1 < f2));
254 ATF_REQUIRE(!(f2 < f1));
259 ATF_REQUIRE( (f1 < f2));
260 ATF_REQUIRE(!(f2 < f1));
265 ATF_REQUIRE( (f1 < f2));
266 ATF_REQUIRE(!(f2 < f1));
271 ATF_REQUIRE( (f1 < f2));
272 ATF_REQUIRE(!(f2 < f1));
282 ATF_REQUIRE( (f1 == f1));
283 ATF_REQUIRE(!(f1 == f2));
284 ATF_REQUIRE(!(f2 == f1));
285 ATF_REQUIRE( (f2 == f2));
294 ATF_REQUIRE(!(f1 != f1));
295 ATF_REQUIRE( (f1 != f2));
296 ATF_REQUIRE( (f2 != f1));
297 ATF_REQUIRE(!(f2 != f2));
310 ATF_REQUIRE(match.first);
311 ATF_REQUIRE(!match.second);
314 ATF_REQUIRE(match.first);
315 ATF_REQUIRE(!match.second);
332 ATF_REQUIRE(match.first);
336 ATF_REQUIRE(match.first);
340 ATF_REQUIRE(match.first);
344 ATF_REQUIRE(match.first);
348 ATF_REQUIRE(match.first);
352 ATF_REQUIRE(!match.first);
355 ATF_REQUIRE(!match.first);
358 ATF_REQUIRE(!match.first);
368 ATF_REQUIRE(filters.match_test_program(fs::path("foo")));
369 ATF_REQUIRE(filters.match_test_program(fs::path("foo/bar")));
383 ATF_REQUIRE( filters.match_test_program(fs::path("top_test")));
384 ATF_REQUIRE( filters.match_test_program(fs::path("subdir_1/foo")));
385 ATF_REQUIRE( filters.match_test_program(fs::path("subdir_1/bar")));
386 ATF_REQUIRE( filters.match_test_program(fs::path("subdir_2/a_test")));
387 ATF_REQUIRE( filters.match_test_program(fs::path("subdir_2/b_test")));
388 ATF_REQUIRE(!filters.match_test_program(fs::path("subdir_2/c_test")));
389 ATF_REQUIRE(!filters.match_test_program(fs::path("subdir_3")));
400 ATF_REQUIRE(diff.empty());
415 ATF_REQUIRE(diff.empty());
435 ATF_REQUIRE(diff.find(mkfilter("a", "")) != diff.end());
436 ATF_REQUIRE(diff.find(mkfilter("e", "f")) != diff.end());
476 ATF_REQUIRE(state.match_test_program(fs::path("foo/bar/something")));
477 ATF_REQUIRE(state.match_test_program(fs::path("baz")));
479 ATF_REQUIRE(!state.match_test_program(fs::path("foo/baz")));
480 ATF_REQUIRE(!state.match_test_program(fs::path("hello")));
492 ATF_REQUIRE(state.match_test_case(fs::path("foo/bar/something"), "any"));
493 ATF_REQUIRE(state.match_test_case(fs::path("baz"), "tc"));
495 ATF_REQUIRE(!state.match_test_case(fs::path("foo/baz/something"), "tc"));
496 ATF_REQUIRE(!state.match_test_case(fs::path("baz"), "tc2"));
513 ATF_REQUIRE(state.unused().empty());
533 ATF_REQUIRE(exp_unused == state.unused());