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 DBuilder.t10 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 Ddetails.t13 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 Dhas_plan.t11 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 Dcurr_test.t4 # tests are run via Test::Builder it will blow up.
6 use Test::Builder;
7 $TB = Test::Builder->new;
H A Doutput.t13 # 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 Dmaybe_regex.t14 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 Dbad_plan.t26 use Test::Builder;
27 my $Test = Test::Builder->new;
31 eval { $Test->plan(7); };
35 eval { $Test->plan(wibble => 7); };
H A Dextra.t10 # 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 Dfail.t15 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 Ddiag.t12 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 Dbuffer.t13 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 Dapache.t4 use Test::More tests => 1;
H A Dswitch.t4 use Test::More tests => 1;
H A Dcan.t3 use Test::More tests => 2;
H A Dinit.t4 use Test::More tests => 1;
H A Dquery_string.t5 use Test::More 'no_plan';
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/sample-tests/
H A Dtaint4 use Test::More tests => 1;
H A Dinc_taint4 use Test::More tests => 1;
H A Dtaint_warn4 use Test::More tests => 1;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/t/
H A Dbblock.t8 use Test::More tests => 1;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/t/
H A D00-load.t3 use Test::More tests => 1;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Harness/t/
H A Dinc_taint.t13 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 D00compile.t13 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 Dqr.t11 use Test; plan tests => 1;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dless.t8 use Test::More tests => 1;

Completed in 83 milliseconds

1234567891011>>