fix warnings in test suite
Brian Cassidy [Fri, 23 Apr 2010 13:55:29 +0000 (13:55 +0000)]
Changes
MANIFEST
MANIFEST.SKIP
lib/Catalyst/Plugin/Scheduler.pm
t/lib/PluginTestApp.pm
t/lib/PluginTestApp/Controller/Root.pm [new file with mode: 0644]
t/lib/TestApp.pm
t/lib/TestApp/Controller/Root.pm [new file with mode: 0644]

diff --git a/Changes b/Changes
index f12d663..29ad607 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension Catalyst::Plugin::Scheduler
 
+0.10    TO BE RELEASED
+        - Fix warnings in test suite (BRICAS)
+
 0.09    2009-05-07 09:15:00
         - Change from NEXT to MRO::Compat. (agladdish)
 
index f264d47..f0b6af0 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -18,6 +18,8 @@ t/08yaml.t
 t/09long.t
 t/lib/Catalyst/Plugin/PluginTest.pm
 t/lib/PluginTestApp.pm
+t/lib/PluginTestApp/Controller/Root.pm
 t/lib/TestApp.pm
 t/lib/TestApp/Controller/Cron.pm
+t/lib/TestApp/Controller/Root.pm
 t/lib/TestApp/test.yml
index b804470..9d0806c 100644 (file)
@@ -25,3 +25,4 @@
 \b\.#
 
 t/var
+^MYMETA.yml$
index 226ab4f..427ebb9 100644 (file)
@@ -11,7 +11,7 @@ use Set::Scalar;
 use Storable qw/lock_store lock_retrieve/;
 use MRO::Compat;
 
-our $VERSION = '0.09';
+our $VERSION = '0.10';
 
 __PACKAGE__->mk_classdata( '_events' => [] );
 __PACKAGE__->mk_accessors('_event_state');
index f077cdb..bc86478 100644 (file)
@@ -15,11 +15,4 @@ PluginTestApp->config(
 
 PluginTestApp->setup( qw/Scheduler PluginTest/ );
 
-sub default : Private {
-    my ( $self, $c ) = @_;
-    
-    $c->res->output( 'default' );
-}
-
 1;
-
diff --git a/t/lib/PluginTestApp/Controller/Root.pm b/t/lib/PluginTestApp/Controller/Root.pm
new file mode 100644 (file)
index 0000000..8bc70b2
--- /dev/null
@@ -0,0 +1,16 @@
+package PluginTestApp::Controller::Root;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::Controller';
+
+__PACKAGE__->config->{ namespace } = '';
+
+sub default : Private {
+    my ( $self, $c ) = @_;
+    
+    $c->res->output( 'default' );
+}
+
+1;
index 916e4e6..a83a23e 100644 (file)
@@ -12,11 +12,4 @@ TestApp->config(
 
 TestApp->setup( qw/Scheduler/ );
 
-sub default : Private {
-    my ( $self, $c ) = @_;
-    
-    $c->res->output( 'default' );
-}
-
 1;
-
diff --git a/t/lib/TestApp/Controller/Root.pm b/t/lib/TestApp/Controller/Root.pm
new file mode 100644 (file)
index 0000000..8c3d938
--- /dev/null
@@ -0,0 +1,16 @@
+package TestApp::Controller::Root;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::Controller';
+
+__PACKAGE__->config->{ namespace } = '';
+
+sub default : Private {
+    my ( $self, $c ) = @_;
+    
+    $c->res->output( 'default' );
+}
+
+1;