Changeset 1106 in ProjectBuilder for devel/pb-modules
- Timestamp:
- Nov 14, 2010, 5:31:51 PM (14 years ago)
- Location:
- devel/pb-modules/t
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/t/Base.t
r1077 r1106 4 4 5 5 use strict; 6 use Test::More;7 6 use ProjectBuilder::Base; 7 use Test; 8 9 eval 10 { 11 require Test::More; 12 Test::More->import(); 13 }; 14 15 # Test::More not found so no test will be performed here 16 if ($@) { 17 BEGIN { plan tests => 1 }; 18 print "# Faking tests as test::More is not available\n"; 19 ok(1,1); 20 exit (0); 21 } 8 22 9 23 my $nt = 0; -
devel/pb-modules/t/Log.t
r1090 r1106 4 4 5 5 use strict; 6 use Test::More;7 6 use ProjectBuilder::Base; 7 use Test; 8 9 eval 10 { 11 require Test::More; 12 Test::More->import(); 13 }; 14 15 # Test::More not found so no test will be performed here 16 if ($@) { 17 BEGIN { plan tests => 1 }; 18 print "# Faking tests as test::More is not available\n"; 19 ok(1,1); 20 exit (0); 21 } 8 22 9 23 is("tmp", "tmp", "temp test");
Note:
See TracChangeset
for help on using the changeset viewer.