From: Dave Rolsky Date: Fri, 31 Dec 2010 18:35:16 +0000 (-0500) Subject: Add CMOP classes to trustme list for pod coverage test X-Git-Tag: 1.9900~3^2~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ef64ae42a119b685d7b8dc986b360eaa5e000947;p=gitmo%2FMoose.git Add CMOP classes to trustme list for pod coverage test --- diff --git a/xt/release/pod-coverage.t b/xt/release/pod-coverage.t index 34500ba..a470346 100644 --- a/xt/release/pod-coverage.t +++ b/xt/release/pod-coverage.t @@ -15,6 +15,93 @@ my @modules = grep { !/Accessor::Native.*$/ } all_modules(); plan tests => scalar @modules; my %trustme = ( + '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', + 'compute_all_applicable_methods', + + # unfinished feature + 'add_dependent_meta_instance', + 'add_meta_instance_dependencies', + 'invalidate_meta_instance', + 'invalidate_meta_instances', + 'remove_dependent_meta_instance', + 'remove_meta_instance_dependencies', + 'update_meta_instance_dependencies', + + # effectively internal + 'check_metaclass_compatibility', + 'clone_instance', + 'construct_class_instance', + 'construct_instance', + 'create_meta_instance', + 'reset_package_cache_flag', + 'update_package_cache_flag', + 'reinitialize', + + # doc'd with rebless_instance + 'rebless_instance_away', + + # deprecated + 'get_attribute_map', + ], + 'Class::MOP::Class::Immutable::Trait' => ['.+'], + 'Class::MOP::Class::Immutable::Class::MOP::Class' => ['.+'], + 'Class::MOP::Deprecated' => ['.+'], + 'Class::MOP::Instance' => [ + qw( BUILDARGS + bless_instance_structure + is_dependent_on_superclasses ), + ], + 'Class::MOP::Instance' => [ + qw( BUILDARGS + bless_instance_structure + is_dependent_on_superclasses ), + ], + 'Class::MOP::Method::Accessor' => [ + qw( generate_accessor_method + generate_accessor_method_inline + generate_clearer_method + generate_clearer_method_inline + generate_predicate_method + generate_predicate_method_inline + generate_reader_method + generate_reader_method_inline + generate_writer_method + generate_writer_method_inline + initialize_body + ) + ], + 'Class::MOP::Method::Constructor' => [ + qw( attributes + generate_constructor_method + generate_constructor_method_inline + initialize_body + meta_instance + options + ) + ], + 'Class::MOP::Method::Generated' => [ + qw( new + definition_context + is_inline + initialize_body + ) + ], + 'Class::MOP::MiniTrait' => ['.+'], + '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' ], 'Moose::Error::Confess' => ['new'], 'Moose::Meta::Attribute' => [ qw( interpolate_class