File: pod-coverage.t

package info (click to toggle)
libmime-lite-perl 3.033-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 660 kB
  • sloc: perl: 1,848; makefile: 9
file content (38 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!perl -T

use Test::More;
eval "use Test::Pod::Coverage 1.08";
plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
  if $@;

plan skip_all => "set RELEASE_TESTING to run this test"
  unless $ENV{RELEASE_TESTING};

TODO: {
  local $TODO = "need to hash out what's what";

  all_pod_coverage_ok({
    coverage_class => 'Pod::Coverage::CountParents',
    also_private   => [ qr/^encode_/ ],
    trustme        => [ qw(
      extract_full_addrs
      extract_only_addrs
      fields_as_string
      fold
      gen_boundary
      is_mime_field
      my_extract_full_addrs
      my_extract_only_addrs
      print_for_smtp
      print_simple_body
      send_by_smtp_simple
      send_by_sub
      stringify
      stringify_body
      stringify_header
      suggest_encoding
      suggest_type
      top_level
    ) ],
  });
}