[Rt-commit] r7928 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: . t t/api t/delegation t/ordered-2 t/ticket

clsung at bestpractical.com clsung at bestpractical.com
Fri May 25 01:48:31 EDT 2007


Author: clsung
Date: Fri May 25 01:48:29 2007
New Revision: 7928

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/   (props changed)
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ace.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-createtickets.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachment.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/cf_transaction.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-ownerchange.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/currentuser.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfield.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/emailparser.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/group.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groups.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/i18n.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/link.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queue.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/record.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rt.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrip.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/searchbuilder.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/system.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ticket.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets_overlay_sql.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/user.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/users.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/cron.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/cleanup_stalled.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/revocation.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-2/cf_external.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/pawsort.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/quicksearch.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/compilation_errors.t

Log:
 r10790 at going04:  clsung | 2007-05-25 13:47:31 +0800
 - for Test::More, replace 'no_plan' to
   plan tests => #num_of_tests


Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ace.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ace.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ace.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 76;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-createtickets.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-createtickets.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/action-createtickets.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 49;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachment.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachment.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attachment.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 4;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/attribute.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 7;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/cf_transaction.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/cf_transaction.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/cf_transaction.t	Fri May 25 01:48:29 2007
@@ -3,7 +3,8 @@
 use warnings;
 use strict;
 use Data::Dumper;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 14;
 
 use_ok('RT');
 use_ok('RT::Transactions');

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-ownerchange.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-ownerchange.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/condition-ownerchange.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 11;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/currentuser.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/currentuser.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/currentuser.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 8;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfield.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfield.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/customfield.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 26;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/emailparser.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/emailparser.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/emailparser.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 4;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/group.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/group.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/group.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 38;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groups.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groups.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/groups.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 28;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/i18n.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/i18n.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/i18n.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 9;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/link.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/link.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/link.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 5;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queue.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queue.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/queue.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 25;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/record.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/record.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/record.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 22;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rt.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rt.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/rt.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 4;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrip.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrip.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/scrip.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 7;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/searchbuilder.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/searchbuilder.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/searchbuilder.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 11;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/system.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/system.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/system.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 7;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/template.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 2;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ticket.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ticket.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/ticket.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 85;
 use Data::Dumper;
 use RT;
 use RT::Test;

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 16;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets_overlay_sql.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets_overlay_sql.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/tickets_overlay_sql.t	Fri May 25 01:48:29 2007
@@ -1,5 +1,6 @@
 
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 7;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/user.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/user.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/user.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 105;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/users.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/users.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/users.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 
 use strict;
 use warnings;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 11;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/cron.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/cron.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/cron.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 #!/usr/bin/perl -w
 
 use strict;
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 18;
 
 use RT;
 use RT::Test;

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/cleanup_stalled.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/cleanup_stalled.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/cleanup_stalled.t	Fri May 25 01:48:29 2007
@@ -12,7 +12,8 @@
 # The case where the "parent" delegated ACE is removed is handled in
 # the embedded regression tests in lib/RT/ACE_Overlay.pm .
 
-use Test::More qw(no_plan);
+use Test::More; 
+plan tests => 98;
 
 use RT;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/revocation.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/revocation.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/delegation/revocation.t	Fri May 25 01:48:29 2007
@@ -2,7 +2,8 @@
 
 use strict;
 use warnings;
-use Test::More qw(no_plan);
+use Test::More; 
+plan tests => 22;
 
 use RT;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-2/cf_external.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-2/cf_external.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-2/cf_external.t	Fri May 25 01:48:29 2007
@@ -2,7 +2,8 @@
 
 use warnings;
 use strict;
-use Test::More qw(no_plan);
+use Test::More; 
+plan tests => 10;
 
 use RT;
 require RT::Test;

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/pawsort.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/pawsort.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/pawsort.t	Fri May 25 01:48:29 2007
@@ -1,6 +1,7 @@
 #!/usr/bin/perl
 
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 7;
 use RT;
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/quicksearch.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/quicksearch.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/quicksearch.t	Fri May 25 01:48:29 2007
@@ -4,7 +4,8 @@
 use strict;
 use warnings;
 
-use Test::More qw/no_plan/;
+use Test::More; 
+plan tests => 10;
 use_ok('RT');
 use RT::Test;
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/compilation_errors.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/compilation_errors.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/compilation_errors.t	Fri May 25 01:48:29 2007
@@ -1,7 +1,8 @@
 #!/usr/bin/perl
 
 use strict;
-use Test::More qw/no_plan/;
+use Test::More;
+plan tests => 387;
 use HTTP::Request::Common;
 use HTTP::Cookies;
 use LWP;


More information about the Rt-commit mailing list