finalize_errors is in Context now (t/aggregate/live_component_controller_action_go...
[catagits/Catalyst-Runtime.git] / t / lib / TestApp.pm
CommitLineData
dd4e6fd2 1package TestApp;
2
3use strict;
836e1134 4use Catalyst qw/
3d101ef9 5 Test::MangleDollarUnderScore
836e1134 6 Test::Errors
7 Test::Headers
8 Test::Plugin
4ca147fa 9 Test::Inline
836e1134 10 +TestApp::Plugin::FullyQualified
083ee5d9 11 +TestApp::Plugin::AddDispatchTypes
e5210a95 12 +TestApp::Role
836e1134 13/;
1408d0a4 14use Catalyst::Utils;
fdcc808c 15use TestApp::Context;
dd4e6fd2 16
d9d8aa51 17use Moose;
18use namespace::autoclean;
19
dd4e6fd2 20our $VERSION = '0.01';
21
fbcc39ad 22TestApp->config( name => 'TestApp', root => '/some/dir' );
dd4e6fd2 23
fdcc808c 24TestApp->context_class( 'TestApp::Context' );
dd4e6fd2 25TestApp->setup;
26
369c09bc 27{
28 no warnings 'redefine';
29 sub Catalyst::Log::error { }
30}
4ca147fa 31
32# Make sure we can load Inline plugins.
33
34package Catalyst::Plugin::Test::Inline;
35
36use strict;
37
c057ae86 38use base qw/Class::Data::Inheritable/;
4ca147fa 39
f3414019 401;