03dest_null.t #2

  • //
  • guest/
  • perforce_software/
  • revml/
  • t/
  • 03dest_null.t
  • View
  • Commits
  • Open Download .zip Download (576 B)
#!/usr/local/bin/perl -w

=head1 NAME

03dest_null.t - testing of VCP::Dest::null services

=cut

use strict ;

use Carp ;
use Test ;
use VCP::Dest::null;

my $p;
my $o;

my @options = ();

my @tests = (
sub {
   $p = VCP::Dest::null->new() ;
   ok ref $p, 'VCP::Dest::null';
},

sub {
   $o = join( " ", map "'$_'", $p->options_as_strings );
   ok length $o;
},

sub {
   $p->parse_options( [] );
   $o = join( " ", map "'$_'", $p->options_as_strings );
   ok length $o;
},

) ;

plan tests => scalar( @tests ) ;

$_->() for @tests ;
# Change User Description Committed
#2 3983 Barrie Slaymaker - t/03dest_null.t passes again
#1 3460 Barrie Slaymaker - Revamp Plugin/Source/Dest hierarchy to allow for
  reguritating options in to .vcp files