Fix xt/dist/pod_coverage.t for mooification
Dagfinn Ilmari Mannsåker [Sat, 21 Mar 2015 12:05:13 +0000 (12:05 +0000)]
Test::Pod::Coverage doesn't seem to pick up the MOP-installed methods,
but does pick them up when installed by Moo or by hand.

xt/dist/pod_coverage.t

index 88bcb81..3f2dbb3 100644 (file)
@@ -106,10 +106,23 @@ my $exceptions = {
         /]
      },
 
-    'DBIx::Class::Storage::DBI::Replicated*'        => {
+    'DBIx::Class::Storage::DBI::Replicated' => {
         ignore => [ qw/
             connect_call_do_sql
             disconnect_call_do_sql
+            get_dbms_capability
+            get_use_dbms_capability
+            set_dbms_capability
+            set_use_dbms_capability
+            sql_limit_dialect
+            sql_name_sep
+            sql_quote_char
+        /]
+    },
+
+    'DBIx::Class::Storage::DBI::Replicated::Balanced' => {
+        ignore => [ qw/
+            has_auto_validate_every
         /]
     },
 
@@ -132,6 +145,7 @@ my $exceptions = {
 
 # internals
     'DBIx::Class::_Util'                            => { skip => 1 },
+    'DBIx::Class::_Types'                           => { skip => 1 },
     'DBIx::Class::SQLMaker*'                        => { skip => 1 },
     'DBIx::Class::SQLAHacks*'                       => { skip => 1 },
     'DBIx::Class::Storage::DBI*'                    => { skip => 1 },