From: Arthur Axel 'fREW' Schmidt Date: Sat, 5 Sep 2009 22:12:22 +0000 (-0500) Subject: skip meta tests for 050 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7aaf1351914345a6af88d69c5d3399d6053d6c1f;p=gitmo%2FMoose.git skip meta tests for 050 --- diff --git a/t/050_metaclasses/001_custom_attr_meta_with_roles.t b/t/050_metaclasses/001_custom_attr_meta_with_roles.t index 2d89151..4f1c7c8 100644 --- a/t/050_metaclasses/001_custom_attr_meta_with_roles.t +++ b/t/050_metaclasses/001_custom_attr_meta_with_roles.t @@ -3,9 +3,14 @@ use strict; use warnings; -use Test::More tests => 3; +use lib 't/lib'; + +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 3; { diff --git a/t/050_metaclasses/002_custom_attr_meta_as_role.t b/t/050_metaclasses/002_custom_attr_meta_as_role.t index 96c0f38..96a60c1 100644 --- a/t/050_metaclasses/002_custom_attr_meta_as_role.t +++ b/t/050_metaclasses/002_custom_attr_meta_as_role.t @@ -3,10 +3,14 @@ use strict; use warnings; -use Test::More tests => 2; +use lib 't/lib'; + +use Test::More; use Test::Exception; -; +use MetaTest; + +skip_all_meta 2; lives_ok { package MooseX::Attribute::Test; diff --git a/t/050_metaclasses/003_moose_w_metaclass.t b/t/050_metaclasses/003_moose_w_metaclass.t index 2a880d9..040034e 100644 --- a/t/050_metaclasses/003_moose_w_metaclass.t +++ b/t/050_metaclasses/003_moose_w_metaclass.t @@ -3,9 +3,15 @@ use strict; use warnings; -use Test::More tests => 4; +use lib 't/lib'; + +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 4; + =pod diff --git a/t/050_metaclasses/004_moose_for_meta.t b/t/050_metaclasses/004_moose_for_meta.t index 003e2f7..8632247 100644 --- a/t/050_metaclasses/004_moose_for_meta.t +++ b/t/050_metaclasses/004_moose_for_meta.t @@ -3,9 +3,15 @@ use strict; use warnings; -use Test::More tests => 16; +use lib 't/lib'; + +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 16; + =pod diff --git a/t/050_metaclasses/010_extending_and_embedding_back_compat.t b/t/050_metaclasses/010_extending_and_embedding_back_compat.t index 6ec3a5a..144ed0f 100644 --- a/t/050_metaclasses/010_extending_and_embedding_back_compat.t +++ b/t/050_metaclasses/010_extending_and_embedding_back_compat.t @@ -3,9 +3,15 @@ use strict; use warnings; -use Test::More tests => 7; +use lib 't/lib'; + +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 7; + BEGIN { diff --git a/t/050_metaclasses/011_init_meta.t b/t/050_metaclasses/011_init_meta.t index 96290dd..49d9f65 100644 --- a/t/050_metaclasses/011_init_meta.t +++ b/t/050_metaclasses/011_init_meta.t @@ -3,7 +3,13 @@ use strict; use warnings; -use Test::More tests => 4; +use lib 't/lib'; + +use Test::More; + +use MetaTest; + +skip_all_meta 4; use Moose (); diff --git a/t/050_metaclasses/012_moose_exporter.t b/t/050_metaclasses/012_moose_exporter.t index bb474fd..13293c1 100644 --- a/t/050_metaclasses/012_moose_exporter.t +++ b/t/050_metaclasses/012_moose_exporter.t @@ -3,12 +3,17 @@ use strict; use warnings; +use lib 't/lib'; + use Test::More; use Test::Exception; + +use MetaTest; + BEGIN { eval "use Test::Output;"; plan skip_all => "Test::Output is required for this test" if $@; - plan tests => 47; + skip_all_meta 47; } diff --git a/t/050_metaclasses/013_metaclass_traits.t b/t/050_metaclasses/013_metaclass_traits.t index 9211f33..3731fac 100644 --- a/t/050_metaclasses/013_metaclass_traits.t +++ b/t/050_metaclasses/013_metaclass_traits.t @@ -5,9 +5,13 @@ use warnings; use lib 't/lib', 'lib'; -use Test::More tests => 32; +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 32; + { package My::SimpleTrait; diff --git a/t/050_metaclasses/014_goto_moose_import.t b/t/050_metaclasses/014_goto_moose_import.t index facf3e4..4a57b0e 100644 --- a/t/050_metaclasses/014_goto_moose_import.t +++ b/t/050_metaclasses/014_goto_moose_import.t @@ -3,9 +3,15 @@ use strict; use warnings; -use Test::More tests => 8; +use lib 't/lib'; + +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 8; + # Some packages out in the wild cooperate with Moose by using goto # &Moose::import. we want to make sure it still works. diff --git a/t/050_metaclasses/015_metarole.t b/t/050_metaclasses/015_metarole.t index 79833c3..e8d6d7b 100644 --- a/t/050_metaclasses/015_metarole.t +++ b/t/050_metaclasses/015_metarole.t @@ -5,11 +5,15 @@ use warnings; use lib 't/lib', 'lib'; -use Test::More tests => 89; +use Test::More; use Test::Exception; use Moose::Util::MetaRole; +use MetaTest; + +skip_all_meta 89; + { package My::Meta::Class; diff --git a/t/050_metaclasses/016_metarole_w_metaclass_pm.t b/t/050_metaclasses/016_metarole_w_metaclass_pm.t index 4db435e..39a5d25 100644 --- a/t/050_metaclasses/016_metarole_w_metaclass_pm.t +++ b/t/050_metaclasses/016_metarole_w_metaclass_pm.t @@ -3,10 +3,16 @@ use strict; use warnings; -use Test::More tests => 8; +use lib 't/lib'; + +use Test::More; use Moose::Util::MetaRole; +use MetaTest; + +skip_all_meta 8; + BEGIN { package My::Meta::Class; diff --git a/t/050_metaclasses/017_use_base_of_moose.t b/t/050_metaclasses/017_use_base_of_moose.t index 2fedbdc..0abaa9d 100644 --- a/t/050_metaclasses/017_use_base_of_moose.t +++ b/t/050_metaclasses/017_use_base_of_moose.t @@ -3,9 +3,15 @@ use strict; use warnings; -use Test::More tests => 4; +use lib 't/lib'; + +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 4; + { package NoOpTrait; use Moose::Role; diff --git a/t/050_metaclasses/018_throw_error.t b/t/050_metaclasses/018_throw_error.t index 656bbce..afdcc9d 100644 --- a/t/050_metaclasses/018_throw_error.t +++ b/t/050_metaclasses/018_throw_error.t @@ -3,9 +3,15 @@ use strict; use warnings; -use Test::More tests => 24; +use lib 't/lib'; + +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 24; + { package Foo; diff --git a/t/050_metaclasses/019_create_anon_with_required_attr.t b/t/050_metaclasses/019_create_anon_with_required_attr.t index 5603e1a..8e32098 100644 --- a/t/050_metaclasses/019_create_anon_with_required_attr.t +++ b/t/050_metaclasses/019_create_anon_with_required_attr.t @@ -6,9 +6,15 @@ use strict; use warnings; -use Test::More tests => 15; +use lib 't/lib'; + +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 15; + { package HasFoo; use Moose::Role; diff --git a/t/050_metaclasses/020_metaclass_parameterized_traits.t b/t/050_metaclasses/020_metaclass_parameterized_traits.t index ac6f79a..5e04980 100644 --- a/t/050_metaclasses/020_metaclass_parameterized_traits.t +++ b/t/050_metaclasses/020_metaclass_parameterized_traits.t @@ -1,7 +1,15 @@ #!/usr/bin/env perl use strict; use warnings; -use Test::More tests => 5; + +use lib 't/lib'; + +use Test::More; +use Test::Exception; + +use MetaTest; + +skip_all_meta 5; { package My::Trait; diff --git a/t/050_metaclasses/021_export_with_prototype.t b/t/050_metaclasses/021_export_with_prototype.t index 531f4c7..c42cd1c 100644 --- a/t/050_metaclasses/021_export_with_prototype.t +++ b/t/050_metaclasses/021_export_with_prototype.t @@ -1,10 +1,14 @@ -use lib "t/lib"; +use lib 't/lib'; package MyExporter::User; use MyExporter; -use Test::More (tests => 4); +use Test::More; use Test::Exception; +use MetaTest; + +skip_all_meta 4; + lives_and { with_prototype { my $caller = caller(0); diff --git a/t/050_metaclasses/022_new_metaclass.t b/t/050_metaclasses/022_new_metaclass.t index 5d98c50..34a91e1 100644 --- a/t/050_metaclasses/022_new_metaclass.t +++ b/t/050_metaclasses/022_new_metaclass.t @@ -1,7 +1,14 @@ #!/usr/bin/env perl use strict; use warnings; -use Test::More tests => 2; + +use lib 't/lib'; + +use Test::More; + +use MetaTest; + +skip_all_meta 2; do { package My::Meta::Class;