use Test::More;
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
+use Test::Requires {
+ '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.
plan tests => scalar @modules;
my %trustme = (
- 'Class::MOP' => [ 'HAVE_ISAREV', 'subname', 'in_global_destruction' ],
+ 'Class::MOP' => [
+ 'DEBUG_NO_META',
+ 'HAVE_ISAREV',
+ 'subname',
+ 'in_global_destruction',
+ ],
'Class::MOP::Attribute' => ['process_accessors'],
'Class::MOP::Class' => [
-
# deprecated
'alias_method',
'compute_all_applicable_attributes',
'Class::MOP::Class::Immutable::Trait' => ['.+'],
'Class::MOP::Class::Immutable::Class::MOP::Class' => ['.+'],
'Class::MOP::Deprecated' => ['.+'],
-
- 'Class::MOP::Instance' => [
+ 'Class::MOP::Instance' => [
qw( BUILDARGS
bless_instance_structure
is_dependent_on_superclasses ),
initialize_body
)
],
- 'Class::MOP::Module' => ['create'],
+ 'Class::MOP::Mixin::AttributeCore' => ['.+'],
+ 'Class::MOP::Mixin::HasAttributes' => ['.+'],
+ 'Class::MOP::Mixin::HasMethods' => ['.+'],
+ 'Class::MOP::Module' => ['create'],
'Class::MOP::Package' => [ 'get_method_map', 'wrap_method_body' ],
);