[Bast-commits] r6201 - DBIx-Class/0.08/trunk/t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun May 10 17:57:32 GMT 2009
Author: ribasushi
Date: 2009-05-10 17:57:31 +0000 (Sun, 10 May 2009)
New Revision: 6201
Modified:
DBIx-Class/0.08/trunk/t/04dont_break_c3.t
DBIx-Class/0.08/trunk/t/39load_namespaces_1.t
DBIx-Class/0.08/trunk/t/39load_namespaces_2.t
DBIx-Class/0.08/trunk/t/39load_namespaces_3.t
DBIx-Class/0.08/trunk/t/39load_namespaces_4.t
DBIx-Class/0.08/trunk/t/39load_namespaces_rt41083.t
DBIx-Class/0.08/trunk/t/41orrible.t
DBIx-Class/0.08/trunk/t/42toplimit.t
DBIx-Class/0.08/trunk/t/94versioning.t
DBIx-Class/0.08/trunk/t/zzzzzzz_perl_perf_bug.t
Log:
Require DBICTest.pm in all tests even if it is not needed at all
Modified: DBIx-Class/0.08/trunk/t/04dont_break_c3.t
===================================================================
--- DBIx-Class/0.08/trunk/t/04dont_break_c3.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/04dont_break_c3.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -1,11 +1,11 @@
-#!/usr/bin/perl -w
-#Simon Ilyushchenko, 12/05/05
-#Testing the case when we try to inject into @ISA a class that's already a parent of the target class.
use strict;
use Test::More tests => 2;
use MRO::Compat;
+use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
+
{
package AAA;
Modified: DBIx-Class/0.08/trunk/t/39load_namespaces_1.t
===================================================================
--- DBIx-Class/0.08/trunk/t/39load_namespaces_1.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/39load_namespaces_1.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -4,7 +4,8 @@
use warnings;
use Test::More;
-unshift(@INC, './t/lib');
+use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
plan tests => 8;
Modified: DBIx-Class/0.08/trunk/t/39load_namespaces_2.t
===================================================================
--- DBIx-Class/0.08/trunk/t/39load_namespaces_2.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/39load_namespaces_2.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -4,7 +4,8 @@
use warnings;
use Test::More;
-unshift(@INC, './t/lib');
+use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
plan tests => 6;
Modified: DBIx-Class/0.08/trunk/t/39load_namespaces_3.t
===================================================================
--- DBIx-Class/0.08/trunk/t/39load_namespaces_3.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/39load_namespaces_3.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -4,7 +4,8 @@
use warnings;
use Test::More;
-unshift(@INC, './t/lib');
+use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
plan tests => 7;
Modified: DBIx-Class/0.08/trunk/t/39load_namespaces_4.t
===================================================================
--- DBIx-Class/0.08/trunk/t/39load_namespaces_4.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/39load_namespaces_4.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -4,7 +4,8 @@
use warnings;
use Test::More;
-unshift(@INC, './t/lib');
+use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
plan tests => 6;
Modified: DBIx-Class/0.08/trunk/t/39load_namespaces_rt41083.t
===================================================================
--- DBIx-Class/0.08/trunk/t/39load_namespaces_rt41083.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/39load_namespaces_rt41083.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -4,6 +4,7 @@
use warnings;
use lib 't/lib';
+use DBICTest; # do not remove even though it is not used
use Test::More tests => 8;
sub _chk_warning {
Modified: DBIx-Class/0.08/trunk/t/41orrible.t
===================================================================
--- DBIx-Class/0.08/trunk/t/41orrible.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/41orrible.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -5,6 +5,7 @@
use DBIx::Class::Storage::DBI::Oracle::WhereJoins;
use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
use DBIC::SqlMakerTest;
plan tests => 4;
Modified: DBIx-Class/0.08/trunk/t/42toplimit.t
===================================================================
--- DBIx-Class/0.08/trunk/t/42toplimit.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/42toplimit.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -3,6 +3,8 @@
use Test::More;
use DBIx::Class::Storage::DBI;
+use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
plan tests => 1;
Modified: DBIx-Class/0.08/trunk/t/94versioning.t
===================================================================
--- DBIx-Class/0.08/trunk/t/94versioning.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/94versioning.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -33,6 +33,8 @@
};
use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
+
use_ok('DBICVersionOrig');
my $schema_orig = DBICVersion::Schema->connect($dsn, $user, $pass, { ignore_version => 1 });
Modified: DBIx-Class/0.08/trunk/t/zzzzzzz_perl_perf_bug.t
===================================================================
--- DBIx-Class/0.08/trunk/t/zzzzzzz_perl_perf_bug.t 2009-05-10 16:46:53 UTC (rev 6200)
+++ DBIx-Class/0.08/trunk/t/zzzzzzz_perl_perf_bug.t 2009-05-10 17:57:31 UTC (rev 6201)
@@ -1,8 +1,8 @@
-#!/usr/bin/perl
use strict;
use warnings;
use Test::More;
use lib qw(t/lib);
+use DBICTest; # do not remove even though it is not used
# This is a rather unusual test.
# It does not test any aspect of DBIx::Class, but instead tests the
More information about the Bast-commits
mailing list