File: gpg_signed.t

package info (click to toggle)
libemail-outlook-message-perl 0.917-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 252 kB
  • ctags: 58
  • sloc: perl: 811; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;
use warnings;
use Test::More tests => 2;
use Email::Outlook::Message;

my $p = new Email::Outlook::Message('t/files/gpg_signed.msg');
ok($p, "Parsing succeeded");
TODO: {
  local $TODO = "GPG Parsing doesn't work yet";
  my $m = $p->to_email_mime;
  like($m->content_type, qr{^multipart/signed},
    "Content type should be multipart/signed");
}