X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp.pm;h=7c203b0ac986575339796fc54e5025c78d7795e8;hb=f9bcc1280f6685f1d937688ed9c035bc9994a01e;hp=f18228cbc7b605f1822ea8a2f28163f7df15be94;hpb=4ca147fa8d5920c1fe53ff4a2c366034db6a11e8;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index f18228c..7c203b0 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -72,6 +72,16 @@ sub class_forward_test_method :Private { $c->response->headers->header( 'X-Class-Forward-Test-Method' => 1 ); } +sub class_go_test_method :Private { + my ( $self, $c ) = @_; + $c->response->headers->header( 'X-Class-Go-Test-Method' => 1 ); +} + +sub class_visit_test_method :Private { + my ( $self, $c ) = @_; + $c->response->headers->header( 'X-Class-Visit-Test-Method' => 1 ); +} + sub loop_test : Local { my ( $self, $c ) = @_; @@ -98,4 +108,4 @@ use strict; use base qw/Catalyst::Base Class::Data::Inheritable/; -1; \ No newline at end of file +1;