[Rt-commit] r7160 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: lib/t/regression t/ordered-3

clkao at bestpractical.com clkao at bestpractical.com
Mon Mar 5 16:07:29 EST 2007


Author: clkao
Date: Mon Mar  5 16:07:29 2007
New Revision: 7160

Added:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/00-mason-syntax.t
      - copied unchanged from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/00-mason-syntax.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/01ticket_link_searching.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/01ticket_link_searching.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/05cronsupport.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/05cronsupport.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/07-rights.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/07-rights.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/11-template-insert.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/11-template-insert.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/13-attribute-tests.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/13-attribute-tests.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/17multiple_deleg_revocation.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/17multiple_deleg_revocation.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/18stale_delegations_cleanup.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/18stale_delegations_cleanup.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/20-sort-by-requestor.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/20-sort-by-requestor.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/23-batch-upload-csv.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/23-batch-upload-csv.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/24pawsort.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/24pawsort.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/25scrip_order.t
      - copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/25scrip_order.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/27-make_clicky.t
      - copied unchanged from r7143, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/27-make_clicky.t
Removed:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/00-mason-syntax.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/01ticket_link_searching.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/05cronsupport.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/07-rights.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/11-template-insert.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/13-attribute-tests.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/17multiple_deleg_revocation.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/18stale_delegations_cleanup.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/20-sort-by-requestor.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/23-batch-upload-csv.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/24pawsort.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/25scrip_order.t
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/27-make_clicky.t

Log:
move remaining tests before organizing.

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/01ticket_link_searching.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/01ticket_link_searching.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/01ticket_link_searching.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/01ticket_link_searching.t	Mon Mar  5 16:07:29 2007
@@ -5,10 +5,10 @@
 use RT;
 
 # Load the config file
-RT::LoadConfig();
+use RT::Test;
 
 #Connect to the database and get RT::SystemUser and RT::Nobody loaded
-RT::Init();
+
 
 #Get the current user all loaded
 my $CurrentUser = $RT::SystemUser;

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/05cronsupport.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/05cronsupport.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/05cronsupport.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/05cronsupport.t	Mon Mar  5 16:07:29 2007
@@ -4,8 +4,8 @@
 use Test::More qw/no_plan/;
 
 use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
 
 ### Set up some testing data.  Test the testing data because why not?
 

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/07-rights.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/07-rights.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/07-rights.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/07-rights.t	Mon Mar  5 16:07:29 2007
@@ -47,8 +47,8 @@
 
 use Test::More tests => 26;
 use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
 use RT::I18N;
 use strict;
 no warnings 'once';

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/11-template-insert.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/11-template-insert.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/11-template-insert.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/11-template-insert.t	Mon Mar  5 16:07:29 2007
@@ -6,8 +6,8 @@
 use Test::More tests => 7;
 
 use RT;
-RT::LoadConfig();
-RT::Init;
+use RT::Test;
+
 
 
 # This tiny little test script triggers an interaction bug between DBD::Oracle 1.16, SB 1.15 and RT 3.4

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/13-attribute-tests.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/13-attribute-tests.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/13-attribute-tests.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/13-attribute-tests.t	Mon Mar  5 16:07:29 2007
@@ -2,8 +2,8 @@
 use warnings;
 use Test::More tests => 34;
 use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
 
 
 my $runid = rand(200);

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/17multiple_deleg_revocation.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/17multiple_deleg_revocation.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/17multiple_deleg_revocation.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/17multiple_deleg_revocation.t	Mon Mar  5 16:07:29 2007
@@ -4,8 +4,7 @@
 
 use RT;
 
-ok( RT::LoadConfig, "Locating config files" );
-ok( RT::Init,       "Basic initialization and DB connectivity" );
+use RT::Test;
 
 my ($u1, $g1, $pg1, $pg2, $ace, @groups, @users, @principals);
 @groups = (\$g1, \$pg1, \$pg2);

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/18stale_delegations_cleanup.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/18stale_delegations_cleanup.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/18stale_delegations_cleanup.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/18stale_delegations_cleanup.t	Mon Mar  5 16:07:29 2007
@@ -14,8 +14,7 @@
 
 use RT;
 
-ok( RT::LoadConfig, "Locating config files" );
-ok( RT::Init,       "Basic initialization and DB connectivity" );
+use RT::Test;
 
 my ($u1, $u2, $g1, $g2, $g3, $pg1, $pg2, $ace, @groups, @users, @principals);
 @groups = (\$g1, \$g2, \$g3, \$pg1, \$pg2);

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/20-sort-by-requestor.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/20-sort-by-requestor.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/20-sort-by-requestor.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/20-sort-by-requestor.t	Mon Mar  5 16:07:29 2007
@@ -3,8 +3,8 @@
 
 use Test::More qw/no_plan/;
 use_ok('RT');
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
 use RT::Ticket;
 
 my $q = RT::Queue->new($RT::SystemUser);

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/23-batch-upload-csv.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/23-batch-upload-csv.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/23-batch-upload-csv.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/23-batch-upload-csv.t	Mon Mar  5 16:07:29 2007
@@ -3,8 +3,8 @@
 
 use Test::More qw/no_plan/;
 use_ok('RT');
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
 use_ok('RT::Action::CreateTickets');
 
 my $QUEUE = 'uploadtest-'.$$;

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/24pawsort.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/24pawsort.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/24pawsort.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/24pawsort.t	Mon Mar  5 16:07:29 2007
@@ -2,8 +2,8 @@
 
 use Test::More qw/no_plan/;
 use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
 
 use strict;
 use warnings;

Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/25scrip_order.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/25scrip_order.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/25scrip_order.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ordered-3/25scrip_order.t	Mon Mar  5 16:07:29 2007
@@ -4,8 +4,8 @@
 use Test::More tests => 7;
 
 use RT;
-RT::LoadConfig();
-RT::Init;
+use RT::Test;
+
 
 # {{{ test scrip ordering based on description
 


More information about the Rt-commit mailing list