warn if we aren't going to inline a constructor because one is already
[gitmo/Class-MOP.git] / xt / pod_coverage.t
index bf70646..0897f59 100644 (file)
@@ -14,10 +14,12 @@ my @modules = all_modules();
 plan tests => scalar @modules;
 
 my %trustme = (
+    'Class::MOP'            => ['HAVE_ISAREV'],
     'Class::MOP::Attribute' => ['process_accessors'],
     'Class::MOP::Class'     => [
         # deprecated
         'alias_method',
+        'compute_all_applicable_attributes',
         'compute_all_applicable_methods',
 
         # unfinished feature
@@ -41,9 +43,14 @@ my %trustme = (
         'update_package_cache_flag',
         'wrap_method_body',
 
-        # doc'd under get_all_attributes
-        'compute_all_applicable_attributes',
+        # doc'd with rebless_instance
+        'rebless_instance_away',
+    ],
 
+    'Class::MOP::Instance' => [
+        qw( BUILDARGS
+            bless_instance_structure
+            is_dependent_on_superclasses ),
     ],
 
     'Class::MOP::Instance' => [
@@ -73,6 +80,7 @@ my %trustme = (
             generate_constructor_method_inline
             initialize_body
             meta_instance
+            options
             )
     ],
 
@@ -91,7 +99,7 @@ for my $module ( sort @modules ) {
     my $trustme = [];
     if ( $trustme{$module} ) {
         my $methods = join '|', @{ $trustme{$module} };
-        $trustme = [qr/$methods/];
+        $trustme = [qr/^(?:$methods)$/];
     }
 
     pod_coverage_ok(