GnuPG-Interface

 view release on metacpan or  search on metacpan

t/Interface.t  view on Meta::CPAN

#!/usr/bin/perl -w
#
# $Id: Interface.t,v 1.1 2001/04/30 02:04:25 ftobin Exp $
#

use strict;

use lib './t';
use MyTest;

use GnuPG::Interface;

my $v1 = './test/fake-gpg-v1';
my $v2 = './test/fake-gpg-v2';

my $gnupg = GnuPG::Interface->new( call => $v1 );

# deprecation test
TEST
{
    $gnupg->gnupg_call() eq $v1;
};

# deprecation test
TEST
{
    $gnupg->gnupg_call( $v2 );
    $gnupg->call() eq $v2;
};



( run in 0.664 second using v1.01-cache-2.11-cpan-df04353d9ac )