Searched defs:Test (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Harness/
H A DAssert.pm3 package Test::Harness::Assert;
17 Test::Harness::Assert - simple assert
23 use Test::Harness::Assert;
31 B<For internal use by Test::Harness ONLY!>
H A DIterator.pm1 package Test::Harness::Iterator;
9 Test::Harness::Iterator - Internal Test::Harness Iterator
13 use Test::Harness::Iterator;
14 my $it = Test::Harness::Iterator->new(\*TEST);
15 my $it = Test::Harness::Iterator->new(\@array);
40 bless $self, 'Test::Harness::Iterator::FH';
44 bless $self, 'Test::Harness::Iterator::ARRAY';
55 package Test::Harness::Iterator::FH;
62 package Test
[all...]
H A DStraps.pm4 package Test::Harness::Straps;
11 use Test::Harness::Assert;
12 use Test::Harness::Iterator;
24 Test::Harness::Straps - detailed analysis of test results
28 use Test::Harness::Straps;
30 my $strap = Test::Harness::Straps->new;
50 Test::Harness is limited to printing out its results. This makes
53 Test::Harness::Straps. Instead of printing the results, straps
65 my $strap = Test::Harness::Straps->new;
115 my $it = Test
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Simple/t/
H A Dexit.t3 # Can't use Test.pm, that's a 5.005 thing.
4 package My::Test;
74 my $lib = File::Spec->catdir(qw(lib Test Simple sample_tests));
94 My::Test::ok( $actual_exit != 0,
99 My::Test::ok( $actual_exit == $exit_code,
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-more.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;
42 require Test::More;
44 Test::More->import(tests => $Total);
98 My::Test::ok($$out eq <<OUT, 'failing output');
217 unless( My::Test::ok($$err =~ /^\Q$err_re\E$more_err_re$/,
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
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/
H A DSimple.pm1 package Test::Simple;
10 use Test::Builder;
11 my $Test = Test::Builder->new;
18 $Test->exported_to($caller);
19 $Test->plan(@_);
25 Test::Simple - Basic utilities for writing tests.
29 use Test::Simple tests => 1;
36 ** If you are unfamiliar with testing B<read Test::Tutorial> first! **
40 complicated testing, use the Test
[all...]
H A DHarness.pm4 package Test::Harness;
7 use Test::Harness::Straps;
8 use Test::Harness::Assert;
28 Test::Harness - Run Perl standard test scripts with statistics
34 $Header: /home/cvs/test-harness/lib/Test/Harness.pm,v 1.80 2003/12/31 02:39:21 andy Exp $
61 $Strap = Test::Harness::Straps->new;
75 use Test::Harness;
82 Test::Simple. Otherwise, read on.
84 (By using the Test module, you can write test scripts without
92 script. Test
[all...]
H A DMore.pm1 package Test::More;
6 use Test::Builder;
35 my $Test = Test::Builder->new;
51 Test::More - yet another framework for writing test scripts
55 use Test::More tests => $Num_Tests;
57 use Test::More qw(no_plan);
59 use Test::More skip_all => $reason;
106 my @status = Test::More::status;
115 Test
[all...]
H A DBuilder.pm1 package Test::Builder;
16 # Make Test::Builder thread-safe for ithreads.
41 Test::Builder - Backend for building test libraries
45 package My::Test::Module;
46 use Test::Builder;
51 my $Test = Test::Builder->new;
52 $Test->output('my_logfile');
58 $Test->exported_to($pack);
59 $Test
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/base/t/
H A Dbase.t4 use Test::More tests => 10;
14 package Test::Version;
19 # Test Inverse of $VERSION bug base.pm should not clobber existing $VERSION
24 package Test::Version2;
61 package Test::Version3;
67 package Test::SIGDIE;
H A Dfields.t9 use Test::More tests => 16;
94 package Test::FooBar;
107 my $x = Test::FooBar->new( a => 1, b => 2);
109 is(ref $x, 'Test::FooBar', 'x is a Test::FooBar');
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dcalling.t6 use Test;
42 package Math::BigInt::Test;
49 package Math::BigFloat::Test;
83 Math::BigInt Math::BigFloat Math::BigInt::Test Math::BigFloat::Test/)
H A Dupgradef.t3 use Test;
34 package Math::BigFloat::Test;
64 use Math::BigFloat upgrade => 'Math::BigFloat::Test';
70 $ECL = "Math::BigFloat::Test";
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/MakeMaker/Test/Setup/
H A DRecurs.pm1 package MakeMaker::Test::Setup::Recurs;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DTest.pm3 package Test; package
42 Test - provides a simple framework for writing test scripts
47 use Test;
89 L<Test::Harness|Test::Harness> expects to see.
103 the C<use Test;> statement.
117 use Test;
151 croak "Test::plan(%args): odd number of arguments" if @_ & 1;
152 croak "Test::plan(): should not be called more than once" if $planned;
168 ref $v eq 'CODE' or croak "Test
[all...]
H A DExporter.t8 # Can't use Test::Simple/More, they depend on Exporter.
188 package Moving::Target::Test;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/Math/BigRat/
H A DTest.pm1 package Math::BigRat::Test;
22 my $class = 'Math::BigRat::Test';
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/Test/Simple/
H A DCatch.pm1 # For testing Test::Simple;
2 package Test::Simple::Catch;
9 use Test::Builder;
10 my $t = Test::Builder->new;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/MakeMaker/Test/
H A DUtils.pm1 package MakeMaker::Test::Utils;
24 MakeMaker::Test::Utils - Utility routines for testing MakeMaker
28 use MakeMaker::Test::Utils;

Completed in 67 milliseconds