Searched refs:Test (Results 1 - 25 of 290) sorted by relevance
1234567891011>>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Simple/t/ |
H A D | Builder.t | 10 use Test::Builder; 11 my $Test = Test::Builder->new; 13 $Test->plan( tests => 7 ); 15 my $default_lvl = $Test->level; 16 $Test->level(0); 18 $Test->ok( 1, 'compiled and new()' ); 19 $Test->ok( $default_lvl == 1, 'level()' ); 21 $Test->is_eq('foo', 'foo', 'is_eq'); 22 $Test [all...] |
H A D | details.t | 13 use Test::More; 14 use Test::Builder; 15 my $Test = Test::Builder->new; 17 $Test->plan( tests => 8 ); 18 $Test->level(0); 22 $Test->is_num( scalar $Test->summary(), 0, 'no tests yet, no summary' ); 30 # Inline TODO tests will confuse pre 1.20 Test::Harness, so we 32 my $out_fh = $Test [all...] |
H A D | has_plan.t | 11 use Test::Builder; 17 $unplanned = Test::Builder->has_plan; 20 use Test::More tests => 2; 23 is(Test::Builder->has_plan, 2, 'has fixed plan');
|
H A D | curr_test.t | 4 # tests are run via Test::Builder it will blow up. 6 use Test::Builder; 7 $TB = Test::Builder->new;
|
H A D | output.t | 13 # Can't use Test.pm, that's a 5.005 thing. 32 use Test::Builder; 33 my $Test = Test::Builder->new(); 36 my $out = $Test->output('foo'); 51 $out = $Test->output(\*FOO); 68 $Test->output(\*FAKEOUT); 69 $Test->exported_to(__PACKAGE__); 70 $Test->no_ending(1); 71 $Test [all...] |
H A D | maybe_regex.t | 14 use Test::More tests => 10; 16 use Test::Builder; 17 my $Test = Test::Builder->new; 24 my $r = $Test->maybe_regex(qr/^FOO$/i); 33 my $r = $Test->maybe_regex('/^BAR$/i'); 40 my $r = $Test->maybe_regex('not a regex'); 46 my $r = $Test->maybe_regex('/0/');
|
H A D | bad_plan.t | 26 use Test::Builder; 27 my $Test = Test::Builder->new; 31 eval { $Test->plan(7); }; 35 eval { $Test->plan(wibble => 7); };
|
H A D | extra.t | 10 # Can't use Test.pm, that's a 5.005 thing. 11 package My::Test; 31 require Test::Simple; 35 require Test::Simple::Catch; 36 my($out, $err) = Test::Simple::Catch::caught(); 38 Test::Simple->import(tests => 3); 48 My::Test::ok($$out eq <<OUT); 57 My::Test::ok($$err eq <<ERR);
|
H A D | fail.t | 15 require Test::Simple::Catch; 16 my($out, $err) = Test::Simple::Catch::caught(); 19 # Can't use Test.pm, that's a 5.005 thing. 20 package My::Test; 40 require Test::Simple; 41 Test::Simple->import(tests => 5); 52 My::Test::ok($$out eq <<OUT); 61 My::Test::ok($$err eq <<ERR); 67 # Prevent Test::Simple from exiting with non zero
|
H A D | diag.t | 12 use Test::More tests => 7; 14 my $Test = Test::More->builder; 21 # Test::Builder :) 26 $Test->todo_output(\*FAKEOUT); 44 $Test->failure_output(\*FAKEOUT); 48 $Test->failure_output(\*STDERR);
|
H A D | buffer.t | 13 use Test::More tests => 20; 14 my $T = Test::Builder->new;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/t/ |
H A D | apache.t | 4 use Test::More tests => 1;
|
H A D | switch.t | 4 use Test::More tests => 1;
|
H A D | can.t | 3 use Test::More tests => 2;
|
H A D | init.t | 4 use Test::More tests => 1;
|
H A D | query_string.t | 5 use Test::More 'no_plan';
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/sample-tests/ |
H A D | taint | 4 use Test::More tests => 1;
|
H A D | inc_taint | 4 use Test::More tests => 1;
|
H A D | taint_warn | 4 use Test::More tests => 1;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/t/ |
H A D | bblock.t | 8 use Test::More tests => 1;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/t/ |
H A D | 00-load.t | 3 use Test::More tests => 1;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Harness/t/ |
H A D | inc_taint.t | 13 use Test::Harness; 14 use Test::More tests => 1; 21 my($tot, $failed) = Test::Harness::_run_all_tests( 28 ok( Test::Harness::_all_ok($tot), 'tests with taint on preserve @INC' );
|
H A D | 00compile.t | 13 use Test::More tests => 5; 15 BEGIN { use_ok 'Test::Harness' } 16 BEGIN { diag( "Testing Test::Harness $Test::Harness::VERSION" ) unless $ENV{PERL_CORE}} 18 BEGIN { use_ok 'Test::Harness::Straps' } 20 BEGIN { use_ok 'Test::Harness::Iterator' } 22 BEGIN { use_ok 'Test::Harness::Assert' } 25 BEGIN { use_ok 'Test::Harness', 1.1601 }
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/t/ |
H A D | qr.t | 11 use Test; plan tests => 1;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | less.t | 8 use Test::More tests => 1;
|
Completed in 26 milliseconds
1234567891011>>