[Catalyst-commits] r13238 - in trunk/examples/Tutorial: Hello_Chapter2/Hello/t MyApp_Chapter3/MyApp/t MyApp_Chapter4/MyApp/t MyApp_Chapter5/MyApp/t MyApp_Chapter6/MyApp/t MyApp_Chapter7/MyApp/t MyApp_Chapter8/MyApp/t MyApp_Chapter9_FormFu/MyApp/t MyApp_Chapter9_FormHandler/MyApp/t

manni at dev.catalyst.perl.org manni at dev.catalyst.perl.org
Tue May 11 19:28:45 GMT 2010


Author: manni
Date: 2010-05-11 20:28:45 +0100 (Tue, 11 May 2010)
New Revision: 13238

Added:
   trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_HTML.t
   trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_HTML.t
   trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_HTML.t
   trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_HTML.t
   trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_HTML.t
   trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_HTML.t
   trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_HTML.t
   trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_HTML.t
   trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_HTML.t
Removed:
   trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_TT.t
   trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_TT.t
   trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_TT.t
   trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_TT.t
   trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_TT.t
   trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_TT.t
   trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_TT.t
   trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_TT.t
   trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_TT.t
Log:
fixed tests for the views that were broken since the views got renamed

Copied: trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,7 @@
+use strict;
+use warnings;
+use Test::More;
+
+BEGIN { use_ok 'Hello::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/Hello_Chapter2/Hello/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,7 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-BEGIN { use_ok 'Hello::View::TT' }
-
-done_testing();

Copied: trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+use MyApp;
+
+BEGIN { use_ok 'MyApp::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/MyApp_Chapter3/MyApp/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,7 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-BEGIN { use_ok 'MyApp::View::TT' }
-
-done_testing();

Copied: trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+use MyApp;
+
+BEGIN { use_ok 'MyApp::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/MyApp_Chapter4/MyApp/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,7 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-BEGIN { use_ok 'MyApp::View::TT' }
-
-done_testing();

Copied: trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+use MyApp;
+
+BEGIN { use_ok 'MyApp::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/MyApp_Chapter5/MyApp/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,7 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-BEGIN { use_ok 'MyApp::View::TT' }
-
-done_testing();

Copied: trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+use MyApp;
+
+BEGIN { use_ok 'MyApp::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/MyApp_Chapter6/MyApp/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,7 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-BEGIN { use_ok 'MyApp::View::TT' }
-
-done_testing();

Copied: trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+use MyApp;
+
+BEGIN { use_ok 'MyApp::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/MyApp_Chapter7/MyApp/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,7 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-BEGIN { use_ok 'MyApp::View::TT' }
-
-done_testing();

Copied: trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+use MyApp;
+
+BEGIN { use_ok 'MyApp::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/MyApp_Chapter8/MyApp/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,8 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-use MyApp;
-
-BEGIN { use_ok 'MyApp::View::TT' }
-
-done_testing();

Copied: trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+use MyApp;
+
+BEGIN { use_ok 'MyApp::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,8 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-use MyApp;
-
-BEGIN { use_ok 'MyApp::View::TT' }
-
-done_testing();

Copied: trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_HTML.t (from rev 13237, trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_TT.t)
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_HTML.t	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_HTML.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -0,0 +1,7 @@
+use strict;
+use warnings;
+use Test::More;
+
+BEGIN { use_ok 'MyApp', 'MyApp::View::HTML' }
+
+done_testing();

Deleted: trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_TT.t
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_TT.t	2010-05-08 23:41:02 UTC (rev 13237)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/t/view_TT.t	2010-05-11 19:28:45 UTC (rev 13238)
@@ -1,7 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-BEGIN { use_ok 'MyApp', 'MyApp::View::TT' }
-
-done_testing();




More information about the Catalyst-commits mailing list