Lines Matching refs:ok
20 ok $tb->is_passing, "a fresh TB object is passing";
22 $tb->ok(1);
23 ok $tb->is_passing, " still passing after a test";
25 $tb->ok(0);
26 ok !$tb->is_passing, " not passing after a failing test";
28 $tb->ok(1);
29 ok !$tb->is_passing, " a passing test doesn't resurrect it";
32 ok !$tb->is_passing, " a successful plan doesn't help either";
40 $tb->ok(1);
41 ok $tb->is_passing, "Passing with a plan";
43 $tb->ok(1);
44 ok !$tb->is_passing, " passing test, but it overran the plan";
52 ok $tb->is_passing, "Passing with no_plan";
54 $tb->ok(1);
55 ok $tb->is_passing, " still passing after a test";
57 $tb->ok(1);
58 ok $tb->is_passing, " and another test";
61 ok $tb->is_passing, " and after the ending";
76 ok $tb->is_passing, "Passing with skip_all";
83 $tb->ok(1);
85 ok !$tb->is_passing, "All tests passed but done_testing() does not match";
93 ok !$tb->is_passing, "No tests run with done_testing()";
100 $tb->ok(1);
102 ok $tb->is_passing, "All tests passed with done_testing()";