6 use Test::More tests => 22;
14 sub new { bless {}, shift }
16 sub count { $count++ }
19 use Catalyst::Test qw/PluginTestApp/;
21 ok( get("/compile_time_plugins"), "get ok" );
22 ok( get("/run_time_plugins"), "get ok" );
26 Catalyst::Plugin::Test::Errors
27 Catalyst::Plugin::Test::Headers
28 Catalyst::Plugin::Test::Plugin
29 TestApp::Plugin::FullyQualified
32 # Faux::Plugin is no longer reported
33 is_deeply [ TestApp->registered_plugins ], \@expected,
34 'registered_plugins() should only report the plugins for the current class';