Lines Matching defs:passed
122 The C<source> is used to create a L<TAP::Parser::Source> that is passed to the
137 The I<tap> is used to create a L<TAP::Parser::Source> that is passed to the
148 Must be passed an array reference.
150 The I<exec> array ref is used to create a L<TAP::Parser::Source> that is passed
229 If using a Perl file as a source, optional switches may be passed which will
244 If passed a filehandle will write a copy of all parsed TAP to that handle.
379 passed => [], #
382 actual_passed => [], # how many tests really passed
593 Reports whether or not a given result has passed. Anything which is B<not> a
732 Returns a boolean value indicating whether or not the test passed. Remember
735 B<Note:> this was formerly C<passed>. The latter method is deprecated and
742 Returns a boolean value indicating whether or not the test passed, regardless
772 they really passed, check the C<is_actual_ok> method.
791 =head3 C<passed>
793 my @passed = $parser->passed; # the test numbers which passed
794 my $passed = $parser->passed; # the number of tests which passed
796 This method lets you know which (or how many) tests passed. If a test failed
797 but had a TODO directive, it will be counted as a passed test.
801 sub passed {
802 return @{ $_[0]->{passed} }
803 if ref $_[0]->{passed};
804 return wantarray ? 1 .. $_[0]->{passed} : $_[0]->{passed};
812 This method lets you know which (or how many) tests failed. If a test passed
821 # the test numbers which actually passed
824 # the number of tests which actually passed
827 This method lets you know which (or how many) tests actually passed,
879 This method lets you know which (or how many) tests actually passed but were
1074 whether the test passed. Normally tests with non-zero exit status are
1075 considered to have failed even if all individual tests passed. In cases
1242 push @{ $self->{ $test->is_ok ? 'passed' : 'failed' } } =>
1360 Get an a list of file handles which can be passed to C<select> to
1510 if ( $self->tests_run != ( $self->passed + $self->failed ) ) {
1514 my $passed = $self->passed;
1517 . "sum of passed ($passed) and failed ($failed) tests!" );
1524 if ( $self->tests_run == @{$self->{passed}} ) {
1525 $self->{passed} = $self->tests_run;
1664 passed instead.