[Catalyst-commits] r6702 - in trunk/Catalyst-Runtime: . t/lib

marcus at dev.catalyst.perl.org marcus at dev.catalyst.perl.org
Tue Aug 21 23:42:44 GMT 2007


Author: marcus
Date: 2007-08-21 23:42:44 +0100 (Tue, 21 Aug 2007)
New Revision: 6702

Modified:
   trunk/Catalyst-Runtime/Changes
   trunk/Catalyst-Runtime/t/lib/TestApp.pm
Log:
Make test suite load inline plugin

Modified: trunk/Catalyst-Runtime/Changes
===================================================================
--- trunk/Catalyst-Runtime/Changes	2007-08-21 22:25:23 UTC (rev 6701)
+++ trunk/Catalyst-Runtime/Changes	2007-08-21 22:42:44 UTC (rev 6702)
@@ -1,4 +1,4 @@
-This file documents the revision history for Perl extension Catalyst.
+e This file documents the revision history for Perl extension Catalyst.
 
 5.7009  2007-08-17 10:00:00
         - Moved Manual.pod to Manual.pm and clarified status of 
@@ -6,6 +6,7 @@
         - Doc patches to Catalyst::Controller
         - remove ignore_loaded from plugin load, commenting why
         - document the ignore_loaded feature in Catalyst::Utils
+        - Add testing of inline plugins.
 
 5.7008  2007-08-13 08:40:00
         - Added $c->request->query_keywords for getting the keywords

Modified: trunk/Catalyst-Runtime/t/lib/TestApp.pm
===================================================================
--- trunk/Catalyst-Runtime/t/lib/TestApp.pm	2007-08-21 22:25:23 UTC (rev 6701)
+++ trunk/Catalyst-Runtime/t/lib/TestApp.pm	2007-08-21 22:42:44 UTC (rev 6702)
@@ -5,6 +5,7 @@
     Test::Errors 
     Test::Headers 
     Test::Plugin
+    Test::Inline
     +TestApp::Plugin::FullyQualified
 /;
 use Catalyst::Utils;
@@ -88,4 +89,13 @@
     no warnings 'redefine';
     sub Catalyst::Log::error { }
 }
-1;
+
+# Make sure we can load Inline plugins. 
+
+package Catalyst::Plugin::Test::Inline;
+
+use strict;
+
+use base qw/Catalyst::Base Class::Data::Inheritable/;
+
+1;
\ No newline at end of file




More information about the Catalyst-commits mailing list