new test suit
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Inheritance.pm
CommitLineData
dd4e6fd2 1package TestApp::Controller::Action::Inheritance;
2
3use strict;
4use base 'TestApp::Controller::Action';
5
6sub begin : Private {
7 my ( $self, $c ) = @_;
8 $self->SUPER::begin($c);
9}
10
11sub default : Private {
12 my ( $self, $c ) = @_;
13 $c->forward('TestApp::View::Dump::Request');
14}
15
16sub end : Private {
17 my ( $self, $c ) = @_;
18}
19
20package TestApp::Controller::Action::Inheritance::A;
21
22use strict;
23use base 'TestApp::Controller::Action';
24
25sub begin : Private {
26 my ( $self, $c ) = @_;
27 $self->SUPER::begin($c);
28}
29
30sub default : Private {
31 my ( $self, $c ) = @_;
32 $c->forward('TestApp::View::Dump::Request');
33}
34
35sub end : Private {
36 my ( $self, $c ) = @_;
37}
38
39package TestApp::Controller::Action::Inheritance::A::B;
40
41use strict;
42use base 'TestApp::Controller::Action';
43
44sub begin : Private {
45 my ( $self, $c ) = @_;
46 $self->SUPER::begin($c);
47}
48
49sub default : Private {
50 my ( $self, $c ) = @_;
51 $c->forward('TestApp::View::Dump::Request');
52}
53
54sub end : Private {
55 my ( $self, $c ) = @_;
56}
57
581;
59