[Bps-public-commit] SD branch, master, updated. bea95c69603837dc140e34d06773ae33742c7644

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jun 26 01:48:38 EDT 2009


The branch, master has been updated
       via  bea95c69603837dc140e34d06773ae33742c7644 (commit)
      from  2c7380eb4f254de855a3f0d8aed5eb9ba02dc71c (commit)

Summary of changes:
 t/sd-rt/basic.t                 |    2 +-
 t/sd-rt/bogus-rt-data.t         |    2 +-
 t/sd-rt/pull-owner.t            |    2 +-
 t/sd-rt/pull-watchers.t         |    2 +-
 t/sd-rt/race-condition.t        |    2 +-
 t/sd-rt/rt-auto-open-conflict.t |    2 +-
 t/sd-rt/sd-rt-hm-single.t       |    2 +-
 t/sd-rt/sd-rt-hm.t              |    2 +-
 t/sd-rt/sd-rt-n-foreign-sync.t  |    2 +-
 t/sd-rt/sd-rt-permission.t      |    2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

- Log -----------------------------------------------------------------
commit bea95c69603837dc140e34d06773ae33742c7644
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Jun 26 13:46:14 2009 +0800

    add tests => no_declare when trying to use RT::Test: we want to plan in script

diff --git a/t/sd-rt/basic.t b/t/sd-rt/basic.t
index 15c7de5..1cb28f5 100644
--- a/t/sd-rt/basic.t
+++ b/t/sd-rt/basic.t
@@ -8,7 +8,7 @@ use strict;
 use Prophet::Test;
 
 BEGIN {
-    unless ( eval 'use RT::Test; 1' ) {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@ if $ENV{'TEST_VERBOSE'};
         plan skip_all => 'requires RT 3.8 or newer to run tests.';
     }
diff --git a/t/sd-rt/bogus-rt-data.t b/t/sd-rt/bogus-rt-data.t
index bf0cc07..5e83ef2 100644
--- a/t/sd-rt/bogus-rt-data.t
+++ b/t/sd-rt/bogus-rt-data.t
@@ -8,7 +8,7 @@ use strict;
 use Prophet::Test;
 
 BEGIN {
-    unless ( eval 'use RT::Test; 1' ) {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@ if $ENV{'TEST_VERBOSE'};
         plan skip_all => 'requires RT 3.8 or newer to run tests.';
     }
diff --git a/t/sd-rt/pull-owner.t b/t/sd-rt/pull-owner.t
index 4a3b40c..091e754 100644
--- a/t/sd-rt/pull-owner.t
+++ b/t/sd-rt/pull-owner.t
@@ -8,7 +8,7 @@ use Prophet::Test;
 use File::Path qw(rmtree);
 
 BEGIN {
-    unless ( eval 'use RT::Test; 1' ) {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@ if $ENV{'TEST_VERBOSE'};
         plan skip_all => 'requires RT 3.8 or newer to run tests.';
     }
diff --git a/t/sd-rt/pull-watchers.t b/t/sd-rt/pull-watchers.t
index 7d6d41a..242aaac 100644
--- a/t/sd-rt/pull-watchers.t
+++ b/t/sd-rt/pull-watchers.t
@@ -10,7 +10,7 @@ use Prophet::Test;
 use File::Path qw(rmtree);
 
 BEGIN {
-    unless ( eval 'use RT::Test; 1' ) {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@ if $ENV{'TEST_VERBOSE'};
         plan skip_all => 'requires RT 3.8 or newer to run tests.';
     }
diff --git a/t/sd-rt/race-condition.t b/t/sd-rt/race-condition.t
index cc82d8a..14cfd68 100644
--- a/t/sd-rt/race-condition.t
+++ b/t/sd-rt/race-condition.t
@@ -8,7 +8,7 @@ use strict;
 use Prophet::Test;
 
 BEGIN {
-    unless ( eval 'use RT::Test; 1' ) {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@ if $ENV{'TEST_VERBOSE'};
         plan skip_all => 'requires RT 3.8 or newer to run tests.';
     }
diff --git a/t/sd-rt/rt-auto-open-conflict.t b/t/sd-rt/rt-auto-open-conflict.t
index fa5a494..114f67b 100644
--- a/t/sd-rt/rt-auto-open-conflict.t
+++ b/t/sd-rt/rt-auto-open-conflict.t
@@ -8,7 +8,7 @@ use strict;
 use Prophet::Test;
 
 BEGIN {
-    unless ( eval 'use RT::Test; 1' ) {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@ if $ENV{'TEST_VERBOSE'};
         plan skip_all => 'requires RT 3.8 or newer to run tests.';
     }
diff --git a/t/sd-rt/sd-rt-hm-single.t b/t/sd-rt/sd-rt-hm-single.t
index e57ab50..94be3fe 100644
--- a/t/sd-rt/sd-rt-hm-single.t
+++ b/t/sd-rt/sd-rt-hm-single.t
@@ -10,7 +10,7 @@ use Prophet::Test;
 use App::SD::Test;
 
 BEGIN {
-    unless (eval 'use RT::Test (); 1') {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@;
         plan skip_all => 'requires RT 3.8 to run tests.';
     }
diff --git a/t/sd-rt/sd-rt-hm.t b/t/sd-rt/sd-rt-hm.t
index 512f77c..2a6e5a7 100644
--- a/t/sd-rt/sd-rt-hm.t
+++ b/t/sd-rt/sd-rt-hm.t
@@ -10,7 +10,7 @@ use Prophet::Test;
 use App::SD::Test;
 
 BEGIN {
-    unless (eval 'use RT::Test (); 1') {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@;
         plan skip_all => 'requires RT 3.8 to run tests.';
     }
diff --git a/t/sd-rt/sd-rt-n-foreign-sync.t b/t/sd-rt/sd-rt-n-foreign-sync.t
index 70ca54c..88a270b 100644
--- a/t/sd-rt/sd-rt-n-foreign-sync.t
+++ b/t/sd-rt/sd-rt-n-foreign-sync.t
@@ -12,7 +12,7 @@ use Prophet::Test;
 use App::SD::Test;
 
 BEGIN {
-    unless (eval 'use RT::Test (); 1') {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@;
         plan skip_all => 'requires RT 3.8 to run tests.';
     }
diff --git a/t/sd-rt/sd-rt-permission.t b/t/sd-rt/sd-rt-permission.t
index de1e624..f16a025 100644
--- a/t/sd-rt/sd-rt-permission.t
+++ b/t/sd-rt/sd-rt-permission.t
@@ -9,7 +9,7 @@ no warnings 'once';
 use Prophet::Test;
 
 BEGIN {
-    unless (eval 'use RT::Test; 1') {
+    unless (eval 'use RT::Test tests => "no_declare"; 1') {
         diag $@ if $ENV{'TEST_VERBOSE'};
         plan skip_all => 'requires RT 3.8 or newer to run tests.';
     }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list