| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
| H A D | multiplexer.t | 10 use TAP::Parser; 11 use TAP::Parser::Multiplexer; 12 use TAP::Parser::Iterator::Process; 15 = TAP::Parser::Iterator::Process->_use_open3 31 TAP::Parser->new( { tap => join( "\n", @tap ) . "\n" } ), 49 [ TAP::Parser->new( { tap => join( "\n", @$_ ) . "\n" } ), 58 TAP::Parser->new( 79 [ TAP::Parser->new( 112 [ TAP::Parser->new( 120 [ TAP::Parser->new( [all …]
|
| H A D | aggregator.t | 9 use TAP::Parser; 10 use TAP::Parser::Iterator::Array; 11 use TAP::Parser::Aggregator; 24 my $iterator = TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] ); 27 my $parser1 = TAP::Parser->new( { iterator => $iterator } ); 44 my $parser2 = TAP::Parser->new( { tap => $tap } ); 49 my $agg = TAP::Parser::Aggregator->new; 192 $agg = TAP::Parser::Aggregator->new(); 200 my $parser3 = TAP::Parser->new( { tap => $tap } ); 220 $agg = TAP::Parser::Aggregator->new(); [all …]
|
| H A D | harness.t | 16 use TAP::Harness; 25 my $HARNESS = 'TAP::Harness'; 58 like $@, qr/\QUnknown arguments to TAP::Harness::new (no_such_key)/, 89 local *TAP::Formatter::Base::_output = sub { 98 my $harness = TAP::Harness->new( 99 { verbosity => 1, formatter_class => "TAP::Formatter::Console" } ); 100 my $harness_whisper = TAP::Harness->new( 101 { verbosity => -1, formatter_class => "TAP::Formatter::Console" } ); 102 my $harness_mute = TAP::Harness->new( 103 { verbosity => -2, formatter_class => "TAP [all...] |
| H A D | callbacks.t | 9 use TAP::Parser; 10 use TAP::Parser::Iterator::Array; 40 my $iterator = TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] ); 41 my $parser = TAP::Parser->new( 82 $iterator = TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] ); 83 $parser = TAP::Parser->new( 107 $iterator = TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] ); 109 $parser = TAP::Parser->new(
|
| H A D | env_opts.t | 7 use TAP::Harness::Env; 20 ok my $harness = TAP::Harness::Env->create, 'made harness'; 28 unless TAP::Formatter::HTML->VERSION >= .10; 32 ok my $harness = TAP::Harness::Env->create, 'made harness'; 46 ok my $harness = TAP::Harness::Env->create, 'made harness'; 58 ok my $harness = TAP::Harness::Env->create, 'made harness'; 64 ok my $harness = TAP::Harness::Env->create, 'made harness';
|
| H A D | iterator_factory.t | 17 use TAP::Parser::Source; 18 use TAP::Parser::IteratorFactory; 23 my $sf = TAP::Parser::IteratorFactory->new; 41 $sf = TAP::Parser::IteratorFactory->new( 48 my $source = TAP::Parser::Source->new->raw( \'known-source' ); 58 my $source = TAP::Parser::Source->new->raw( \'unknown-source' ); 141 = TAP::Parser::IteratorFactory->new( $test->{config} )->_testing(1); 144 my $source = TAP::Parser::Source->new->raw( ref($raw) ? $raw : \$raw ); 164 ok 1 - TAP in the __DATA__ handle
|
| H A D | spool.t | 55 use TAP::Harness; 56 use TAP::Parser; 57 use TAP::Parser::Iterator::Array; 89 TAP::Harness->_open_spool( 115 my $parser = TAP::Parser->new( 118 TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] ) 130 TAP::Harness->_close_spool($parser);
|
| H A D | parse.t | 15 use TAP::Parser; 16 use TAP::Parser::Iterator::Array; 28 TAP::Parser 29 TAP::Parser::Result::Plan 30 TAP::Parser::Result::Pragma 31 TAP::Parser::Result::Test 32 TAP::Parser::Result::Comment 33 TAP::Parser::Result::Bailout 34 TAP::Parser::Result::Unknown 35 TAP [all...] |
| H A D | premature-bailout.t | 9 use TAP::Parser; 10 use TAP::Parser::Iterator::Array; 30 my $parser = TAP::Parser->new( 31 { iterator => TAP::Parser::Iterator::Array->new( tap_to_lines($tap) ), 108 my $second_parser = TAP::Parser->new( 110 TAP::Parser::Iterator::Array->new( [ split( /\n/, $more_tap ) ] ),
|
| H A D | file.t | 13 use TAP::Harness; 15 my $HARNESS = 'TAP::Harness'; 29 require TAP::Formatter::Base; 30 local *TAP::Formatter::Base::_output = sub { 41 my $harness = TAP::Harness->new( 47 my $harness_whisper = TAP::Harness->new( { verbosity => -1 } ); 48 my $harness_mute = TAP::Harness->new( { verbosity => -2 } ); 49 my $harness_directives = TAP::Harness->new( { directives => 1 } ); 50 my $harness_failures = TAP::Harness->new( { failures => 1 } ); 51 my $harness_comments = TAP [all...] |
| H A D | streams.t | 9 use TAP::Parser; 10 use TAP::Parser::Iterator::Array; 11 use TAP::Parser::Iterator::Stream; 19 my $parser = TAP::Parser->new( { iterator => $iterator } ); 64 ok $parser = TAP::Parser->new( { iterator => $iterator } ), 103 ok $parser = TAP::Parser->new( { iterator => $iterator } ), 141 ok $parser = TAP::Parser->new( { iterator => $iterator } ),
|
| H A D | proverun.t | 91 use TAP::Parser::Iterator::Process; 92 use TAP::Formatter::Console; 99 my $orig_new = TAP::Parser::Iterator::Process->can('new'); 101 *TAP::Parser::Iterator::Process::new = sub { 110 my $orig_output = \&TAP::Formatter::Console::_output; 111 *TAP::Formatter::Console::_output = sub {
|
| H A D | rulesfile.t | 9 use TAP::Harness; 46 my $th = TAP::Harness->new; 64 $th = TAP::Harness->new; 86 $th = TAP::Harness->new; 93 $th = TAP::Harness->new( { rulesfile => $altrules} );
|
| H A D | source.t | 15 use_ok('TAP::Parser::Source'); 28 my $source = TAP::Parser::Source->new; 29 isa_ok( $source, 'TAP::Parser::Source', 'new source' ); 42 $source->config_for('TAP::Parser::SourceHandler::Foo'), 75 my $source = TAP::Parser::Source->new; 90 my $source = TAP::Parser::Source->new; 104 my $source = TAP::Parser::Source->new; 118 my $source = TAP::Parser::Source->new; 133 my $source = TAP::Parser::Source->new; 187 my $source = TAP [all...] |
| H A D | iterators.t | 10 use TAP::Parser; 11 use TAP::Parser::Iterator::Array; 217 return TAP::Parser::Iterator::Stream->new($thing); 220 return TAP::Parser::Iterator::Array->new($thing); 223 return TAP::Parser::Iterator::Process->new($thing);
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/ |
| H A D | ResultFactory.pm | 1 package TAP::Parser::ResultFactory; 6 use TAP::Parser::Result::Bailout (); 7 use TAP::Parser::Result::Comment (); 8 use TAP::Parser::Result::Plan (); 9 use TAP::Parser::Result::Pragma (); 10 use TAP::Parser::Result::Test (); 11 use TAP::Parser::Result::Unknown (); 12 use TAP::Parser::Result::Version (); 13 use TAP::Parser::Result::YAML (); 15 use base 'TAP [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Harness/ |
| H A D | Beyond.pod | 151 output TAP. There are TAP based testing libraries for C, C++, PHP, 152 Python and many others. If I can't find a TAP library for my language 153 of choice it's easy to generate valid TAP. It looks like this: 171 find my gforth TAP experiments at 203 Typically you'll want to change how TAP gets I<input> into and I<output> 204 from the parser. L<App::Prove> supports arbitrary plugins, and L<TAP::Harness> 207 For more details see L<App::Prove>, L<TAP::Parser::SourceHandler>, and 208 L<TAP::Formatter::Base>. 214 The Test::Harness module is a compatibility wrapper around TAP::Harness. 215 For new applications I should use TAP::Harness directly. As we'll [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/SourceHandler/ |
| H A D | RawTAP.pm | 1 package TAP::Parser::SourceHandler::RawTAP; 6 use TAP::Parser::IteratorFactory (); 7 use TAP::Parser::Iterator::Array (); 9 use base 'TAP::Parser::SourceHandler'; 11 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__); 15 TAP::Parser::SourceHandler::RawTAP - Stream output from raw TAP in a scalar/array ref. 27 use TAP::Parser::Source; 28 use TAP::Parser::SourceHandler::RawTAP; 30 my $source = TAP [all...] |
| H A D | Handle.pm | 1 package TAP::Parser::SourceHandler::Handle; 6 use TAP::Parser::IteratorFactory (); 7 use TAP::Parser::Iterator::Stream (); 9 use base 'TAP::Parser::SourceHandler'; 11 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__); 15 TAP::Parser::SourceHandler::Handle - Stream TAP from an IO::Handle or a GLOB. 27 use TAP::Parser::Source; 28 use TAP::Parser::SourceHandler::Executable; 30 my $source = TAP [all...] |
| H A D | File.pm | 1 package TAP::Parser::SourceHandler::File; 6 use TAP::Parser::IteratorFactory (); 7 use TAP::Parser::Iterator::Stream (); 9 use base 'TAP::Parser::SourceHandler'; 11 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__); 15 TAP::Parser::SourceHandler::File - Stream TAP from a text file. 27 use TAP::Parser::Source; 28 use TAP::Parser::SourceHandler::File; 30 my $source = TAP [all...] |
| H A D | Executable.pm | 1 package TAP::Parser::SourceHandler::Executable; 8 use TAP::Parser::IteratorFactory (); 9 use TAP::Parser::Iterator::Process (); 11 use base 'TAP::Parser::SourceHandler'; 13 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__); 17 TAP::Parser::SourceHandler::Executable - Stream output from an executable TAP source 29 use TAP::Parser::Source; 30 use TAP::Parser::SourceHandler::Executable; 32 my $source = TAP [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Event/TAP/ |
| H A D | Version.t | 6 use ok 'Test2::Event::TAP::Version'; 7 my $CLASS = 'Test2::Event::TAP::Version'; 17 is($one->summary, "TAP version 13", "Got summary"); 22 about => { package => $CLASS, details => "TAP version 13", eid => $one->eid}, 23 info => [{tag => 'INFO', debug => 0, details => "TAP version 13"}],
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/ |
| H A D | Parser.pm | 1 package TAP::Parser; 6 use TAP::Parser::Grammar (); 7 use TAP::Parser::Result (); 8 use TAP::Parser::ResultFactory (); 9 use TAP::Parser::Source (); 10 use TAP::Parser::Iterator (); 11 use TAP::Parser::IteratorFactory (); 12 use TAP::Parser::SourceHandler::Executable (); 13 use TAP::Parser::SourceHandler::Perl (); 14 use TAP [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/Test/ |
| H A D | Harness.pm | 11 use TAP::Harness (); 12 use TAP::Parser::Aggregator (); 13 use TAP::Parser::Source (); 14 use TAP::Parser::SourceHandler::Perl (); 77 L<TAP::Harness> with an interface that is somewhat backwards compatible 79 L<TAP::Harness> directly instead. 86 See L<TAP::Parser>, L<TAP::Harness> for the main documentation for this 107 return TAP::Parser::SourceHandler::Perl->get_taint( 108 TAP [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/ |
| H A D | File.pm | 1 package TAP::Formatter::File; 5 use TAP::Formatter::File::Session; 8 use base 'TAP::Formatter::Base'; 12 TAP::Formatter::File - Harness output delegate for file output 24 This provides file orientated output formatting for TAP::Harness. 28 use TAP::Formatter::File; 29 my $harness = TAP::Formatter::File->new( \%args ); 33 See L<TAP::Formatter::Base> 40 my $session = TAP::Formatter::File::Session->new(
|