[Catalyst-commits] r9553 - in
Catalyst-Runtime/5.80/branches/register_actions: . t t/lib
t/lib/TestAppMetaCompat t/lib/TestAppMetaCompat/Action
t/lib/TestAppMetaCompat/Controller
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Sun Mar 22 02:05:32 GMT 2009
Author: t0m
Date: 2009-03-22 02:05:29 +0000 (Sun, 22 Mar 2009)
New Revision: 9553
Added:
Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat.pm
Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/
Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Action/
Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Action/UsesCAF.pm
Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/
Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/Base.pm
Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/Books.pm
Catalyst-Runtime/5.80/branches/register_actions/t/unit_metaclass_compat_non_moose.t
Modified:
Catalyst-Runtime/5.80/branches/register_actions/TODO.register_actions
Log:
Metaclass compatibility fail. This needs to be reduced to a test for Moose..
Modified: Catalyst-Runtime/5.80/branches/register_actions/TODO.register_actions
===================================================================
--- Catalyst-Runtime/5.80/branches/register_actions/TODO.register_actions 2009-03-22 01:28:46 UTC (rev 9552)
+++ Catalyst-Runtime/5.80/branches/register_actions/TODO.register_actions 2009-03-22 02:05:29 UTC (rev 9553)
@@ -1,4 +1,4 @@
-module.Catalyst-Controller-FormBuilder
+module.Catalyst-Controller-FormBuilder - t/unit_metaclass_compat_non_moose.t
module.Catalyst-Controller-WrapCGI
module.Catalyst-Log-Log4perl
module.Catalyst-Model-Search
Added: Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Action/UsesCAF.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Action/UsesCAF.pm (rev 0)
+++ Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Action/UsesCAF.pm 2009-03-22 02:05:29 UTC (rev 9553)
@@ -0,0 +1,8 @@
+package TestAppMetaCompat::Action::UsesCAF;
+
+use strict;
+
+use base qw/Catalyst::Action Class::Accessor::Fast/;
+__PACKAGE__->mk_accessors(qw/ foo /);
+
+1;
Added: Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/Base.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/Base.pm (rev 0)
+++ Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/Base.pm 2009-03-22 02:05:29 UTC (rev 9553)
@@ -0,0 +1,6 @@
+package TestAppMetaCompat::Controller::Base;
+
+use strict;
+use base qw/Catalyst::Controller/;
+
+1;
Added: Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/Books.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/Books.pm (rev 0)
+++ Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat/Controller/Books.pm 2009-03-22 02:05:29 UTC (rev 9553)
@@ -0,0 +1,9 @@
+package TestAppMetaCompat::Controller::Books;
+
+use strict;
+use base qw/TestAppMetaCompat::Controller::Base/;
+
+sub edit : Local ActionClass('+Catalyst::Controller::FormBuilder::Action') {
+}
+
+1;
Added: Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat.pm (rev 0)
+++ Catalyst-Runtime/5.80/branches/register_actions/t/lib/TestAppMetaCompat.pm 2009-03-22 02:05:29 UTC (rev 9553)
@@ -0,0 +1,8 @@
+package TestAppMetaCompat;
+use base qw/Catalyst/;
+
+__PACKAGE__->config(name => __PACKAGE__);
+__PACKAGE__->setup;
+
+1;
+
Added: Catalyst-Runtime/5.80/branches/register_actions/t/unit_metaclass_compat_non_moose.t
===================================================================
--- Catalyst-Runtime/5.80/branches/register_actions/t/unit_metaclass_compat_non_moose.t (rev 0)
+++ Catalyst-Runtime/5.80/branches/register_actions/t/unit_metaclass_compat_non_moose.t 2009-03-22 02:05:29 UTC (rev 9553)
@@ -0,0 +1,7 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use lib 't/lib';
+use Test::More tests => 1;
+use_ok('TestAppMetaCompat');
+
More information about the Catalyst-commits
mailing list