5 Test::MangleDollarUnderScore
10 +TestApp::Plugin::FullyQualified
11 +TestApp::Plugin::AddDispatchTypes
18 use namespace::autoclean;
20 our $VERSION = '0.01';
22 TestApp->config( name => 'TestApp', root => '/some/dir' );
24 TestApp->context_class( 'TestApp::Context' );
27 # Replace the very large HTML error page with
28 # useful info if something crashes during a test
35 $c->res->body( 'FATAL ERROR: ' . join( ', ', @{ $c->error } ) );
39 no warnings 'redefine';
40 sub Catalyst::Log::error { }
43 # Make sure we can load Inline plugins.
45 package Catalyst::Plugin::Test::Inline;
49 use base qw/Class::Data::Inheritable/;