ASNMTAP

 view release on metacpan or  search on metacpan

t/Templates/Plugins/Mail/check_template-mail.t  view on Meta::CPAN

#!/usr/bin/env perl -w -I ..
#
# ... Tests via check_template-mail.pl
#
# $Id: check_template-mail.t, v 1.0 2006/02/01 Alex Peeters Exp $
#

use strict;
use Test;
use ASNMTAP::Asnmtap::Plugins::NPTest;

use vars qw($tests);
BEGIN {$tests = 5; plan tests => $tests}

my $t;
my $prefix = '../plugins/templates';
my $plugin = 'check_template-mail.pl';

if ( -x "$prefix/$plugin" ) {
  $t += checkCmd( "$prefix/$plugin -V", 3, "/$plugin/");
  $t += checkCmd( "$prefix/$plugin -h", 3);
  $t += checkCmd( "$prefix/$plugin", 3, "/Missing parent object command line option -e\|--environment/");
} else {
  $t += skipMissingCmd( "$prefix/$plugin", $tests );
}

exit(0) if defined($Test::Harness::VERSION);
exit($tests - $t);



( run in 0.638 second using v1.01-cache-2.11-cpan-5a3173703d6 )