[Jifty-commit] r1868 - in jifty/trunk/t: . Mapper/t TestApp-Plugin-REST/t TestApp/t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Aug 26 21:25:43 EDT 2006


Author: ishigaki
Date: Sat Aug 26 21:25:21 2006
New Revision: 1868

Modified:
   jifty/trunk/t/00-load.t
   jifty/trunk/t/02-connect.t
   jifty/trunk/t/06-forms.t
   jifty/trunk/t/07-limit-actions.t
   jifty/trunk/t/08-client.t
   jifty/trunk/t/09-url.t
   jifty/trunk/t/Continuations/t/00-prototype.t
   jifty/trunk/t/Continuations/t/01-raw-api.t
   jifty/trunk/t/Continuations/t/02-api.t
   jifty/trunk/t/Continuations/t/03-gc.t
   jifty/trunk/t/Continuations/t/04-before-blocks.t
   jifty/trunk/t/Mapper/t/00-prototype.t
   jifty/trunk/t/Mapper/t/01-raw-api.t
   jifty/trunk/t/Mapper/t/02-api.t
   jifty/trunk/t/TestApp-Plugin-REST/t/00-model-User.t
   jifty/trunk/t/TestApp-Plugin-REST/t/00-prototype.t
   jifty/trunk/t/TestApp-Plugin-REST/t/01-config.t
   jifty/trunk/t/TestApp-Plugin-REST/t/02-basic-use.t
   jifty/trunk/t/TestApp/t/00-model-User.t
   jifty/trunk/t/TestApp/t/00-prototype.t
   jifty/trunk/t/TestApp/t/01-config.t
   jifty/trunk/t/TestApp/t/02-dispatch.t
   jifty/trunk/t/TestApp/t/03-static.t
   jifty/trunk/t/TestApp/t/04-sessions.t
   jifty/trunk/t/TestApp/t/05-actions-before-redirect.pm
   jifty/trunk/t/TestApp/t/05-editactions-Cachable.t
   jifty/trunk/t/TestApp/t/05-editactions-Record.t
   jifty/trunk/t/TestApp/t/06-validation.t
   jifty/trunk/t/TestApp/t/07-sandboxing.t
   jifty/trunk/t/TestApp/t/08-notifications.t
   jifty/trunk/t/TestApp/t/09-redirect.t
   jifty/trunk/t/TestApp/t/10-compress.t
   jifty/trunk/t/TestApp/t/11-current_user.t

Log:
revert the ugly test hacks

Modified: jifty/trunk/t/00-load.t
==============================================================================
--- jifty/trunk/t/00-load.t	(original)
+++ jifty/trunk/t/00-load.t	Sat Aug 26 21:25:21 2006
@@ -2,17 +2,5 @@
 use strict;
 use Test::More tests => 2;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 'jiftyapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use_ok('Jifty::Everything');
 use_ok('Jifty::Test');

Modified: jifty/trunk/t/02-connect.t
==============================================================================
--- jifty/trunk/t/02-connect.t	(original)
+++ jifty/trunk/t/02-connect.t	Sat Aug 26 21:25:21 2006
@@ -1,18 +1,6 @@
 #!/usr/bin/env perl -w
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 'jiftyapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use Jifty::Test tests => 6;
 
 use_ok('Jifty');

Modified: jifty/trunk/t/06-forms.t
==============================================================================
--- jifty/trunk/t/06-forms.t	(original)
+++ jifty/trunk/t/06-forms.t	Sat Aug 26 21:25:21 2006
@@ -1,18 +1,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 'jiftyapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use Jifty::Test tests => 11;
 
 use_ok ('Jifty::Web::Form::Field');

Modified: jifty/trunk/t/07-limit-actions.t
==============================================================================
--- jifty/trunk/t/07-limit-actions.t	(original)
+++ jifty/trunk/t/07-limit-actions.t	Sat Aug 26 21:25:21 2006
@@ -10,18 +10,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 'jiftyapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use Jifty::Test tests => 21;
 
 use_ok('Jifty::API');

Modified: jifty/trunk/t/08-client.t
==============================================================================
--- jifty/trunk/t/08-client.t	(original)
+++ jifty/trunk/t/08-client.t	Sat Aug 26 21:25:21 2006
@@ -1,18 +1,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 'jiftyapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use Jifty::Test tests => 4;
 
 use_ok ('Jifty::Client');

Modified: jifty/trunk/t/09-url.t
==============================================================================
--- jifty/trunk/t/09-url.t	(original)
+++ jifty/trunk/t/09-url.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 'jiftyapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use Jifty::Test tests => 5;
 
 like(Jifty->web->url, qr{^http://localhost:\d+/$}, 'basic call works');

Modified: jifty/trunk/t/Continuations/t/00-prototype.t
==============================================================================
--- jifty/trunk/t/Continuations/t/00-prototype.t	(original)
+++ jifty/trunk/t/Continuations/t/00-prototype.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/Continuations/continuationstest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/Continuations/t/01-raw-api.t
==============================================================================
--- jifty/trunk/t/Continuations/t/01-raw-api.t	(original)
+++ jifty/trunk/t/Continuations/t/01-raw-api.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/Continuations/continuationstest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 use lib '../lib';

Modified: jifty/trunk/t/Continuations/t/02-api.t
==============================================================================
--- jifty/trunk/t/Continuations/t/02-api.t	(original)
+++ jifty/trunk/t/Continuations/t/02-api.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/Continuations/continuationstest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 use lib '../lib';

Modified: jifty/trunk/t/Continuations/t/03-gc.t
==============================================================================
--- jifty/trunk/t/Continuations/t/03-gc.t	(original)
+++ jifty/trunk/t/Continuations/t/03-gc.t	Sat Aug 26 21:25:21 2006
@@ -3,18 +3,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/Continuations/continuationstest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 # {{{ Setup
 use lib 't/lib';
 use Jifty::SubTest;

Modified: jifty/trunk/t/Continuations/t/04-before-blocks.t
==============================================================================
--- jifty/trunk/t/Continuations/t/04-before-blocks.t	(original)
+++ jifty/trunk/t/Continuations/t/04-before-blocks.t	Sat Aug 26 21:25:21 2006
@@ -10,18 +10,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/Continuations/continuationstest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/Mapper/t/00-prototype.t
==============================================================================
--- jifty/trunk/t/Mapper/t/00-prototype.t	(original)
+++ jifty/trunk/t/Mapper/t/00-prototype.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/Mapper/mappertest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/Mapper/t/01-raw-api.t
==============================================================================
--- jifty/trunk/t/Mapper/t/01-raw-api.t	(original)
+++ jifty/trunk/t/Mapper/t/01-raw-api.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/Mapper/mappertest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/Mapper/t/02-api.t
==============================================================================
--- jifty/trunk/t/Mapper/t/02-api.t	(original)
+++ jifty/trunk/t/Mapper/t/02-api.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/Mapper/mappertest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/TestApp-Plugin-REST/t/00-model-User.t
==============================================================================
--- jifty/trunk/t/TestApp-Plugin-REST/t/00-model-User.t	(original)
+++ jifty/trunk/t/TestApp-Plugin-REST/t/00-model-User.t	Sat Aug 26 21:25:21 2006
@@ -8,18 +8,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp-Plugin-REST/testapp_plugin_resttest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 'plugins/REST/lib';
 
 use lib 't/lib';

Modified: jifty/trunk/t/TestApp-Plugin-REST/t/00-prototype.t
==============================================================================
--- jifty/trunk/t/TestApp-Plugin-REST/t/00-prototype.t	(original)
+++ jifty/trunk/t/TestApp-Plugin-REST/t/00-prototype.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp-Plugin-REST/testapp_plugin_resttest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 'plugins/REST/lib';
 use lib 't/lib';
 use Jifty::SubTest;

Modified: jifty/trunk/t/TestApp-Plugin-REST/t/01-config.t
==============================================================================
--- jifty/trunk/t/TestApp-Plugin-REST/t/01-config.t	(original)
+++ jifty/trunk/t/TestApp-Plugin-REST/t/01-config.t	Sat Aug 26 21:25:21 2006
@@ -2,18 +2,6 @@
 use strict;
 use warnings;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp-Plugin-REST/testapp_plugin_resttest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 'plugins/REST/lib';
 
 #use Jifty::Test tests => 3;

Modified: jifty/trunk/t/TestApp-Plugin-REST/t/02-basic-use.t
==============================================================================
--- jifty/trunk/t/TestApp-Plugin-REST/t/02-basic-use.t	(original)
+++ jifty/trunk/t/TestApp-Plugin-REST/t/02-basic-use.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp-Plugin-REST/testapp_plugin_resttest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 'plugins/REST/lib';
 
 use lib 't/lib';

Modified: jifty/trunk/t/TestApp/t/00-model-User.t
==============================================================================
--- jifty/trunk/t/TestApp/t/00-model-User.t	(original)
+++ jifty/trunk/t/TestApp/t/00-model-User.t	Sat Aug 26 21:25:21 2006
@@ -8,18 +8,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/TestApp/t/00-prototype.t
==============================================================================
--- jifty/trunk/t/TestApp/t/00-prototype.t	(original)
+++ jifty/trunk/t/TestApp/t/00-prototype.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/TestApp/t/01-config.t
==============================================================================
--- jifty/trunk/t/TestApp/t/01-config.t	(original)
+++ jifty/trunk/t/TestApp/t/01-config.t	Sat Aug 26 21:25:21 2006
@@ -2,18 +2,6 @@
 use strict;
 use warnings;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 #use Jifty::Test tests => 3;
 use Jifty::Test tests => 1;
 

Modified: jifty/trunk/t/TestApp/t/02-dispatch.t
==============================================================================
--- jifty/trunk/t/TestApp/t/02-dispatch.t	(original)
+++ jifty/trunk/t/TestApp/t/02-dispatch.t	Sat Aug 26 21:25:21 2006
@@ -2,18 +2,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 use Jifty::Test tests => 28;

Modified: jifty/trunk/t/TestApp/t/03-static.t
==============================================================================
--- jifty/trunk/t/TestApp/t/03-static.t	(original)
+++ jifty/trunk/t/TestApp/t/03-static.t	Sat Aug 26 21:25:21 2006
@@ -2,18 +2,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/TestApp/t/04-sessions.t
==============================================================================
--- jifty/trunk/t/TestApp/t/04-sessions.t	(original)
+++ jifty/trunk/t/TestApp/t/04-sessions.t	Sat Aug 26 21:25:21 2006
@@ -3,18 +3,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/TestApp/t/05-actions-before-redirect.pm
==============================================================================
--- jifty/trunk/t/TestApp/t/05-actions-before-redirect.pm	(original)
+++ jifty/trunk/t/TestApp/t/05-actions-before-redirect.pm	Sat Aug 26 21:25:21 2006
@@ -10,18 +10,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 BEGIN {chdir "t/TestApp"}
 use lib '../../lib';
 use Jifty::Test tests => 6;

Modified: jifty/trunk/t/TestApp/t/05-editactions-Cachable.t
==============================================================================
--- jifty/trunk/t/TestApp/t/05-editactions-Cachable.t	(original)
+++ jifty/trunk/t/TestApp/t/05-editactions-Cachable.t	Sat Aug 26 21:25:21 2006
@@ -3,18 +3,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 BEGIN { $ENV{'JIFTY_CONFIG'} = 't/config-Cachable' }

Modified: jifty/trunk/t/TestApp/t/05-editactions-Record.t
==============================================================================
--- jifty/trunk/t/TestApp/t/05-editactions-Record.t	(original)
+++ jifty/trunk/t/TestApp/t/05-editactions-Record.t	Sat Aug 26 21:25:21 2006
@@ -3,18 +3,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 BEGIN { $ENV{'JIFTY_CONFIG'} = 't/config-Record' }

Modified: jifty/trunk/t/TestApp/t/06-validation.t
==============================================================================
--- jifty/trunk/t/TestApp/t/06-validation.t	(original)
+++ jifty/trunk/t/TestApp/t/06-validation.t	Sat Aug 26 21:25:21 2006
@@ -2,18 +2,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/TestApp/t/07-sandboxing.t
==============================================================================
--- jifty/trunk/t/TestApp/t/07-sandboxing.t	(original)
+++ jifty/trunk/t/TestApp/t/07-sandboxing.t	Sat Aug 26 21:25:21 2006
@@ -2,18 +2,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/TestApp/t/08-notifications.t
==============================================================================
--- jifty/trunk/t/TestApp/t/08-notifications.t	(original)
+++ jifty/trunk/t/TestApp/t/08-notifications.t	Sat Aug 26 21:25:21 2006
@@ -2,18 +2,6 @@
 use warnings;
 use strict;
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 

Modified: jifty/trunk/t/TestApp/t/09-redirect.t
==============================================================================
--- jifty/trunk/t/TestApp/t/09-redirect.t	(original)
+++ jifty/trunk/t/TestApp/t/09-redirect.t	Sat Aug 26 21:25:21 2006
@@ -10,18 +10,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 BEGIN {chdir "t/TestApp"}
 use lib '../../lib';
 use Jifty::Test tests => 6;

Modified: jifty/trunk/t/TestApp/t/10-compress.t
==============================================================================
--- jifty/trunk/t/TestApp/t/10-compress.t	(original)
+++ jifty/trunk/t/TestApp/t/10-compress.t	Sat Aug 26 21:25:21 2006
@@ -9,18 +9,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 BEGIN { $ENV{'JIFTY_CONFIG'} = 't/config-Cachable' }

Modified: jifty/trunk/t/TestApp/t/11-current_user.t
==============================================================================
--- jifty/trunk/t/TestApp/t/11-current_user.t	(original)
+++ jifty/trunk/t/TestApp/t/11-current_user.t	Sat Aug 26 21:25:21 2006
@@ -8,18 +8,6 @@
 
 =cut
 
-BEGIN {
-    #### XXX: I know this is foolish but right now Jifty on Win32 fails to 
-    #### unlink used test databases and the following tests fail saying
-    #### 'error creating a table... table already exists'. So, remove the
-    #### remnant first. And we should do it before none of the Jifty is there.
-
-    my $testdb = 't/TestApp/testapptest';
-    if (-e $testdb) {
-        unlink $testdb or die $!;
-    }
-}
-
 use lib 't/lib';
 use Jifty::SubTest;
 


More information about the Jifty-commit mailing list