[Catalyst-commits] r7057 - in trunk/Catalyst-Engine-HTTP-Sprocket:
. t
andyg at dev.catalyst.perl.org
andyg at dev.catalyst.perl.org
Thu Oct 25 01:11:07 GMT 2007
Author: andyg
Date: 2007-10-25 01:11:07 +0100 (Thu, 25 Oct 2007)
New Revision: 7057
Added:
trunk/Catalyst-Engine-HTTP-Sprocket/MANIFEST.SKIP
trunk/Catalyst-Engine-HTTP-Sprocket/Makefile.PL
trunk/Catalyst-Engine-HTTP-Sprocket/t/
trunk/Catalyst-Engine-HTTP-Sprocket/t/01use.t
trunk/Catalyst-Engine-HTTP-Sprocket/t/02pod.t
trunk/Catalyst-Engine-HTTP-Sprocket/t/03podcoverage.t
trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.rc
trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.t
trunk/Catalyst-Engine-HTTP-Sprocket/t/catalyst_130pix.gif
Log:
Sprocket engine Makefile and generic tests
Added: trunk/Catalyst-Engine-HTTP-Sprocket/MANIFEST.SKIP
===================================================================
--- trunk/Catalyst-Engine-HTTP-Sprocket/MANIFEST.SKIP (rev 0)
+++ trunk/Catalyst-Engine-HTTP-Sprocket/MANIFEST.SKIP 2007-10-25 00:11:07 UTC (rev 7057)
@@ -0,0 +1,28 @@
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+,v$
+\B\.svn\b
+
+# Avoid Makemaker generated and utility files.
+\bMakefile$
+\bblib
+\bMakeMaker-\d
+\bpm_to_blib$
+\bblibdirs$
+^MANIFEST\.SKIP$
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build
+
+# Avoid temp and backup files.
+~$
+\.tmp$
+\.old$
+\.bak$
+\#$
+\b\.#
+
+# Mac files
+\.DS_Store
Property changes on: trunk/Catalyst-Engine-HTTP-Sprocket/MANIFEST.SKIP
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/Catalyst-Engine-HTTP-Sprocket/Makefile.PL
===================================================================
--- trunk/Catalyst-Engine-HTTP-Sprocket/Makefile.PL (rev 0)
+++ trunk/Catalyst-Engine-HTTP-Sprocket/Makefile.PL 2007-10-25 00:11:07 UTC (rev 7057)
@@ -0,0 +1,12 @@
+use inc::Module::Install 0.65;
+
+name 'Catalyst-Engine-HTTP-Sprocket';
+all_from 'lib/Catalyst/Engine/HTTP/Sprocket.pm';
+
+requires 'Catalyst::Runtime';
+requires 'Sprocket';
+
+tests 't/0*.t';
+
+auto_install;
+WriteAll;
Property changes on: trunk/Catalyst-Engine-HTTP-Sprocket/Makefile.PL
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/Catalyst-Engine-HTTP-Sprocket/t/01use.t
===================================================================
--- trunk/Catalyst-Engine-HTTP-Sprocket/t/01use.t (rev 0)
+++ trunk/Catalyst-Engine-HTTP-Sprocket/t/01use.t 2007-10-25 00:11:07 UTC (rev 7057)
@@ -0,0 +1,3 @@
+use Test::More tests => 1;
+
+use_ok('Catalyst::Engine::HTTP::Sprocket');
Property changes on: trunk/Catalyst-Engine-HTTP-Sprocket/t/01use.t
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/Catalyst-Engine-HTTP-Sprocket/t/02pod.t
===================================================================
--- trunk/Catalyst-Engine-HTTP-Sprocket/t/02pod.t (rev 0)
+++ trunk/Catalyst-Engine-HTTP-Sprocket/t/02pod.t 2007-10-25 00:11:07 UTC (rev 7057)
@@ -0,0 +1,7 @@
+use Test::More;
+
+eval "use Test::Pod 1.14";
+plan skip_all => 'Test::Pod 1.14 required' if $@;
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+
+all_pod_files_ok();
Property changes on: trunk/Catalyst-Engine-HTTP-Sprocket/t/02pod.t
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/Catalyst-Engine-HTTP-Sprocket/t/03podcoverage.t
===================================================================
--- trunk/Catalyst-Engine-HTTP-Sprocket/t/03podcoverage.t (rev 0)
+++ trunk/Catalyst-Engine-HTTP-Sprocket/t/03podcoverage.t 2007-10-25 00:11:07 UTC (rev 7057)
@@ -0,0 +1,7 @@
+use Test::More;
+
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+
+all_pod_coverage_ok();
Property changes on: trunk/Catalyst-Engine-HTTP-Sprocket/t/03podcoverage.t
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.rc
===================================================================
--- trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.rc 2007-10-25 00:11:07 UTC (rev 7057)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Property changes on: trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.rc
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.t
===================================================================
--- trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.t (rev 0)
+++ trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.t 2007-10-25 00:11:07 UTC (rev 7057)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Property changes on: trunk/Catalyst-Engine-HTTP-Sprocket/t/04critic.t
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/Catalyst-Engine-HTTP-Sprocket/t/catalyst_130pix.gif
===================================================================
(Binary files differ)
Property changes on: trunk/Catalyst-Engine-HTTP-Sprocket/t/catalyst_130pix.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:keywords
+ Id
More information about the Catalyst-commits
mailing list