Make test suite load inline plugin
Marcus Ramberg [Tue, 21 Aug 2007 22:42:44 +0000 (22:42 +0000)]
Changes
t/lib/TestApp.pm

diff --git a/Changes b/Changes
index f48fa5a..859cb89 100644 (file)
--- a/Changes
+++ b/Changes
@@ -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 @@ This file documents the revision history for Perl extension Catalyst.
         - 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
index a349b9a..f18228c 100644 (file)
@@ -5,6 +5,7 @@ use Catalyst qw/
     Test::Errors 
     Test::Headers 
     Test::Plugin
+    Test::Inline
     +TestApp::Plugin::FullyQualified
 /;
 use Catalyst::Utils;
@@ -88,4 +89,13 @@ sub recursion_test : Local {
     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