Ticket #439: packfile_tests.diff
File packfile_tests.diff, 3.2 KB (added by dukeleto, 13 years ago) |
---|
-
MANIFEST
1866 1866 t/pmc/orderedhash.t [test] 1867 1867 t/pmc/os.t [test] 1868 1868 t/pmc/packfile.t [test] 1869 t/pmc/packfileannotation.t [test] 1870 t/pmc/packfileannotations.t [test] 1871 t/pmc/packfileannotationkeys.t [test] 1869 1872 t/pmc/packfileconstanttable.t [test] 1870 1873 t/pmc/packfiledirectory.t [test] 1871 1874 t/pmc/packfilefixupentry.t [test] -
t/pmc/packfileannotationkeys.t
1 #!perl 2 # Copyright (C) 2006-2009, Parrot Foundation. 3 4 use strict; 5 use warnings; 6 use lib qw( . lib ../lib ../../lib ); 7 use Test::More; 8 use Parrot::Test tests => 1; 9 use Parrot::Config; 10 11 =head1 NAME 12 13 t/pmc/packfileannotationkeys.t - test the PackfileAnnotationKeys PMC 14 15 16 =head1 SYNOPSIS 17 18 % prove t/pmc/packfileannotationkeys.t 19 20 =head1 DESCRIPTION 21 22 Tests the PackfileAnnotationKeys PMC. 23 24 =cut 25 26 27 # Packfile constructor 28 29 pir_output_is( <<'CODE', <<'OUT', 'new' ); 30 .sub 'test' :main 31 .local pmc pf 32 pf = new ['PackfileAnnotationKeys'] 33 $I0 = defined pf 34 say $I0 35 .end 36 CODE 37 1 38 OUT -
t/pmc/packfileannotations.t
1 #!perl 2 # Copyright (C) 2006-2009, Parrot Foundation. 3 4 use strict; 5 use warnings; 6 use lib qw( . lib ../lib ../../lib ); 7 use Test::More; 8 use Parrot::Test tests => 1; 9 use Parrot::Config; 10 11 =head1 NAME 12 13 t/pmc/packfileannotations.t - test the PackfileAnnotations PMC 14 15 16 =head1 SYNOPSIS 17 18 % prove t/pmc/packfileannotations.t 19 20 =head1 DESCRIPTION 21 22 Tests the PackfileAnnotations PMC. 23 24 =cut 25 26 27 # Packfile constructor 28 29 pir_output_is( <<'CODE', <<'OUT', 'new' ); 30 .sub 'test' :main 31 .local pmc pf 32 pf = new ['PackfileAnnotations'] 33 $I0 = defined pf 34 say $I0 35 .end 36 CODE 37 1 38 OUT -
t/pmc/packfileannotation.t
1 #!perl 2 # Copyright (C) 2006-2009, Parrot Foundation. 3 4 use strict; 5 use warnings; 6 use lib qw( . lib ../lib ../../lib ); 7 use Test::More; 8 use Parrot::Test tests => 1; 9 use Parrot::Config; 10 11 =head1 NAME 12 13 t/pmc/packfileannotation.t - test the PackfileAnnotation PMC 14 15 16 =head1 SYNOPSIS 17 18 % prove t/pmc/packfileannotation.t 19 20 =head1 DESCRIPTION 21 22 Tests the PackfileAnnotation PMC. 23 24 =cut 25 26 27 # Packfile constructor 28 29 pir_output_is( <<'CODE', <<'OUT', 'new' ); 30 .sub 'test' :main 31 .local pmc pf 32 pf = new ['PackfileAnnotation'] 33 $I0 = defined pf 34 say $I0 35 .end 36 CODE 37 1 38 OUT