Home
last modified time | relevance | path

Searched refs:TAP (Results 1 – 25 of 145) sorted by relevance

123456

/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/t/
Dmultiplexer.t10 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 …]
Daggregator.t9 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 …]
Dharness.t16 use TAP::Harness;
89 local *TAP::Formatter::Base::_output = sub {
98 my $harness = TAP::Harness->new(
100 my $harness_whisper = TAP::Harness->new(
102 my $harness_mute = TAP::Harness->new(
104 my $harness_directives = TAP::Harness->new(
106 my $harness_failures = TAP::Harness->new(
564 my $harness = TAP::Harness->new(
585 my $harness = TAP::Harness->new(
611 my $harness = TAP::Harness->new(
[all …]
Dcallbacks.t9 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(
Denv_opts.t7 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';
Diterator_factory.t17 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
Dspool.t55 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);
Dparse.t15 use TAP::Parser;
16 use TAP::Parser::Iterator::Array;
348 = $PARSER->new( { iterator => TAP::Parser::Iterator::Array->new($aref) } );
597 my $parser = TAP::Parser->new( { source => [ split /$/, $tap ] } );
612 $parser = TAP::Parser->new( { source => 'nosuchfile' } );
626 my $parser = TAP::Parser->new(
661 my $parser = TAP::Parser->new( { tap => $tap } );
678 $parser = TAP::Parser->new( { tap => $tap } );
698 $parser = TAP::Parser->new( { tap => $tap } );
738 my $parser = TAP::Parser->new( { tap => $tap } );
[all …]
Dpremature-bailout.t9 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 ) ] ),
Dfile.t13 use 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::Harness->new( { comments => 1 } );
52 my $harness_fandc = TAP::Harness->new(
Dstreams.t9 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 } ),
Dproverun.t91 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 {
Drulesfile.t9 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} );
Dsource.t28 my $source = TAP::Parser::Source->new;
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::Parser::Source->new;
244 my $source = TAP::Parser::Source->new;
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/
DResultFactory.pm1 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 ();
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Harness/
DBeyond.pod151 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/
DRawTAP.pm1 package TAP::Parser::SourceHandler::RawTAP;
6 use TAP::Parser::IteratorFactory ();
7 use TAP::Parser::Iterator::Array ();
11 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__);
110 return TAP::Parser::Iterator::Array->new($tap_array);
DHandle.pm1 package TAP::Parser::SourceHandler::Handle;
6 use TAP::Parser::IteratorFactory ();
7 use TAP::Parser::Iterator::Stream ();
11 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__);
DFile.pm1 package TAP::Parser::SourceHandler::File;
6 use TAP::Parser::IteratorFactory ();
7 use TAP::Parser::Iterator::Stream ();
11 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__);
DExecutable.pm1 package TAP::Parser::SourceHandler::Executable;
8 use TAP::Parser::IteratorFactory ();
9 use TAP::Parser::Iterator::Process ();
13 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__);
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Event/TAP/
DVersion.t6 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/
DMakefile.bsd-wrapper1643 TAP::Base 3p lib/TAP/Base.pm \
644 TAP::Formatter::Base 3p lib/TAP/Formatter/Base.pm \
645 TAP::Formatter::Color 3p lib/TAP/Formatter/Color.pm \
646 TAP::Formatter::Console 3p lib/TAP/Formatter/Console.pm \
647 TAP::Formatter::Console::ParallelSession 3p lib/TAP/Formatter/Console/ParallelSession.pm \
648 TAP::Formatter::Console::Session 3p lib/TAP/Formatter/Console/Session.pm \
649 TAP::Formatter::File 3p lib/TAP/Formatter/File.pm \
650 TAP::Formatter::File::Session 3p lib/TAP/Formatter/File/Session.pm \
651 TAP::Formatter::Session 3p lib/TAP/Formatter/Session.pm \
652 TAP::Harness 3p lib/TAP/Harness.pm \
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/
DParser.pm1 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::Parser::SourceHandler::File ();
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/Test/
DHarness.pm11 use TAP::Harness ();
12 use TAP::Parser::Aggregator ();
13 use TAP::Parser::Source ();
14 use TAP::Parser::SourceHandler::Perl ();
107 return TAP::Parser::SourceHandler::Perl->get_taint(
108 TAP::Parser::Source->shebang($test) );
148 my $aggregate = TAP::Parser::Aggregator->new();
251 return TAP::Harness->_construct( $class, $args );
326 my $aggregate = TAP::Parser::Aggregator->new();
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/
DFile.pm1 package TAP::Formatter::File;
5 use TAP::Formatter::File::Session;
40 my $session = TAP::Formatter::File::Session->new(

123456