[Rt-commit] r8895 - rtfm/branches/2.1-TESTING/t

ruz at bestpractical.com ruz at bestpractical.com
Tue Sep 4 11:12:43 EDT 2007


Author: ruz
Date: Tue Sep  4 11:12:43 2007
New Revision: 8895

Modified:
   rtfm/branches/2.1-TESTING/t/3upload-customfields.t
   rtfm/branches/2.1-TESTING/t/ArticleCollection_Overlay.pm.t
   rtfm/branches/2.1-TESTING/t/Article_Overlay.pm.t
   rtfm/branches/2.1-TESTING/t/Class_Overlay.pm.t

Log:
* add a plan for each test file

Modified: rtfm/branches/2.1-TESTING/t/3upload-customfields.t
==============================================================================
--- rtfm/branches/2.1-TESTING/t/3upload-customfields.t	(original)
+++ rtfm/branches/2.1-TESTING/t/3upload-customfields.t	Tue Sep  4 11:12:43 2007
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More qw/no_plan/;
+use Test::More tests => 14;
 BEGIN { require 't/utils.pl' }
 
 BEGIN {

Modified: rtfm/branches/2.1-TESTING/t/ArticleCollection_Overlay.pm.t
==============================================================================
--- rtfm/branches/2.1-TESTING/t/ArticleCollection_Overlay.pm.t	(original)
+++ rtfm/branches/2.1-TESTING/t/ArticleCollection_Overlay.pm.t	Tue Sep  4 11:12:43 2007
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More qw/no_plan/;
+use Test::More test => 31;
 BEGIN { require 't/utils.pl' }
 
 use_ok 'RT';

Modified: rtfm/branches/2.1-TESTING/t/Article_Overlay.pm.t
==============================================================================
--- rtfm/branches/2.1-TESTING/t/Article_Overlay.pm.t	(original)
+++ rtfm/branches/2.1-TESTING/t/Article_Overlay.pm.t	Tue Sep  4 11:12:43 2007
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More 'no_plan';
+use Test::More tests => 69;
 BEGIN { require 't/utils.pl' }
 
 use_ok 'RT';

Modified: rtfm/branches/2.1-TESTING/t/Class_Overlay.pm.t
==============================================================================
--- rtfm/branches/2.1-TESTING/t/Class_Overlay.pm.t	(original)
+++ rtfm/branches/2.1-TESTING/t/Class_Overlay.pm.t	Tue Sep  4 11:12:43 2007
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More 'no_plan';
+use Test::More test => 14;
 BEGIN { require 't/utils.pl' }
 
 use_ok 'RT';


More information about the Rt-commit mailing list