X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fauthor%2Fpod_coverage.t;h=5e0eb9348ecf5469a0d2b26d9cd4c3041a3c3d46;hb=b5331fcbe6111bb33ccc9dfde4c5d2bebc255f82;hp=cda0317fb17029330d4d79b0a04840b185a10e76;hpb=4d438a84f437bcb3c43a04c27823b8b431cd3f55;p=gitmo%2FMoose.git diff --git a/xt/author/pod_coverage.t b/xt/author/pod_coverage.t index cda0317..5e0eb93 100644 --- a/xt/author/pod_coverage.t +++ b/xt/author/pod_coverage.t @@ -6,12 +6,12 @@ use warnings; use Test::More; use Test::Requires { - 'Test::Pod::Coverage' => '1.04', # skip all if not installed + 'Test::Pod::Coverage' => '1.04', # skip all if not installed }; # This is a stripped down version of all_pod_coverage_ok which lets us # vary the trustme parameter per module. -my @modules = all_modules(); +my @modules = grep { !/Accessor::Native.+$/ } all_modules(); plan tests => scalar @modules; my %trustme = ( @@ -92,14 +92,16 @@ my %trustme = ( [qw( constraint equals get_message )], 'Moose::Meta::TypeConstraint::Parameterizable' => ['.+'], 'Moose::Meta::TypeConstraint::Parameterized' => ['.+'], - 'Moose::Meta::TypeConstraint::Role' => [qw( equals is_a_type_of )], - 'Moose::Meta::TypeConstraint::Union' => ['compile_type_constraint'], - 'Moose::Util' => ['add_method_modifier'], - 'Moose::Util::MetaRole' => ['apply_metaclass_roles'], + 'Moose::Meta::TypeConstraint::Role' => [qw( equals is_a_type_of )], + 'Moose::Meta::TypeConstraint::Union' => + [qw( compile_type_constraint coercion has_coercion)], + 'Moose::Util' => ['add_method_modifier'], + 'Moose::Util::MetaRole' => ['apply_metaclass_roles'], 'Moose::Util::TypeConstraints' => ['find_or_create_type_constraint'], ); for my $module ( sort @modules ) { + my $trustme = []; if ( $trustme{$module} ) { my $methods = join '|', @{ $trustme{$module} };