tidy up cargo-culted stuff
Alastair McGowan-Douglas [Mon, 29 Sep 2014 08:26:05 +0000 (09:26 +0100)]
19 files changed:
t/lib/IncTestApp/Controller/Root.pm
t/lib/IncTestApp/root/always-static/test [deleted file]
t/lib/IncTestApp/root/always-static/test.html [deleted file]
t/lib/IncTestApp/root/css/static.css [deleted file]
t/lib/IncTestApp/root/files/bad.gif [deleted file]
t/lib/IncTestApp/root/files/empty.txt [deleted file]
t/lib/IncTestApp/root/files/err.omg [deleted file]
t/lib/IncTestApp/root/files/space file.txt [deleted file]
t/lib/IncTestApp/root/files/static.css [deleted file]
t/lib/IncTestApp/root/ignored/bad.gif [deleted file]
t/lib/IncTestApp/root/ignored/index.html [deleted file]
t/lib/IncTestApp/root/ignored/static.css [deleted file]
t/lib/IncTestApp/root/ignored/tmpl.tt [deleted file]
t/lib/IncTestApp/root/images/catalyst.png [deleted file]
t/lib/IncTestApp/root/incpath/incpath.css [deleted file]
t/lib/IncTestApp/root/overlay/o-ignored/bad.gif [deleted file]
t/lib/IncTestApp/root/overlay/o-ignored/index.html [deleted file]
t/lib/IncTestApp/root/overlay/o-ignored/static.css [deleted file]
t/lib/IncTestApp/root/overlay/o-ignored/tmpl.tt [deleted file]

index 21948c0..00b761d 100644 (file)
@@ -8,38 +8,4 @@ use base qw/Catalyst::Controller/;
 \r
 __PACKAGE__->config(namespace => '');\r
 \r
-sub default : Private {\r
-    my ( $self, $c ) = @_;\r
-    \r
-    $c->res->output( 'default' );\r
-}\r
-\r
-sub subtest : Local {\r
-    my ( $self, $c ) = @_;\r
-\r
-    $c->res->output( $c->subreq('/subtest2') );\r
-}\r
-\r
-sub subtest2 : Local {\r
-    my ( $self, $c ) = @_;\r
-    \r
-    $c->res->output( 'subtest2 ok' );\r
-}\r
-\r
-sub serve_static : Local {\r
-    my ( $self, $c ) = @_;\r
-    \r
-    my $file = catfile( $FindBin::Bin, 'lib', 'TestApp.pm' );\r
-    \r
-    $c->serve_static_file( $file );\r
-}\r
-\r
-sub serve_static_404 : Local {\r
-    my ( $self, $c ) = @_;\r
-    \r
-    my $file = catfile( $FindBin::Bin, 'lib', 'foo.pm' );\r
-    \r
-    $c->serve_static_file( $file );\r
-}\r
-\r
 1;\r
diff --git a/t/lib/IncTestApp/root/always-static/test b/t/lib/IncTestApp/root/always-static/test
deleted file mode 100644 (file)
index 9eb0ae4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-I am a text file!
diff --git a/t/lib/IncTestApp/root/always-static/test.html b/t/lib/IncTestApp/root/always-static/test.html
deleted file mode 100644 (file)
index 18ed998..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<html>
-  <head>
-    <title>test</title>
-  </head>
-  <body>
-    <div>test</div>
-  </body>
-</html>
diff --git a/t/lib/IncTestApp/root/css/static.css b/t/lib/IncTestApp/root/css/static.css
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/files/bad.gif b/t/lib/IncTestApp/root/files/bad.gif
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/files/empty.txt b/t/lib/IncTestApp/root/files/empty.txt
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/t/lib/IncTestApp/root/files/err.omg b/t/lib/IncTestApp/root/files/err.omg
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/files/space file.txt b/t/lib/IncTestApp/root/files/space file.txt
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/files/static.css b/t/lib/IncTestApp/root/files/static.css
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/ignored/bad.gif b/t/lib/IncTestApp/root/ignored/bad.gif
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/ignored/index.html b/t/lib/IncTestApp/root/ignored/index.html
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/ignored/static.css b/t/lib/IncTestApp/root/ignored/static.css
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/ignored/tmpl.tt b/t/lib/IncTestApp/root/ignored/tmpl.tt
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/images/catalyst.png b/t/lib/IncTestApp/root/images/catalyst.png
deleted file mode 100644 (file)
index 464e512..0000000
Binary files a/t/lib/IncTestApp/root/images/catalyst.png and /dev/null differ
diff --git a/t/lib/IncTestApp/root/incpath/incpath.css b/t/lib/IncTestApp/root/incpath/incpath.css
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/overlay/o-ignored/bad.gif b/t/lib/IncTestApp/root/overlay/o-ignored/bad.gif
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/overlay/o-ignored/index.html b/t/lib/IncTestApp/root/overlay/o-ignored/index.html
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/overlay/o-ignored/static.css b/t/lib/IncTestApp/root/overlay/o-ignored/static.css
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}
diff --git a/t/lib/IncTestApp/root/overlay/o-ignored/tmpl.tt b/t/lib/IncTestApp/root/overlay/o-ignored/tmpl.tt
deleted file mode 100644 (file)
index de57cdb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
-    background: #fff;
-}