/[webpac2]/trunk/t/2-input-isi.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/2-input-isi.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 948 by dpavlin, Fri Oct 12 12:07:35 2007 UTC revision 949 by dpavlin, Thu Nov 1 00:16:48 2007 UTC
# Line 1  Line 1 
1  #!/usr/bin/perl -w  #!/usr/bin/perl -w
2    
 use Test::More tests => 9;  
 use Test::Exception;  
 use Cwd qw/abs_path/;  
 use blib;  
3  use strict;  use strict;
4    use blib;
5    
6  use Data::Dump qw/dump/;  use Test::More tests => 9;
   
 my $debug = @ARGV ? 1 : 0;  
7    
8  BEGIN {  BEGIN {
9    use_ok( 'WebPAC::Test' );
10  use_ok( 'WebPAC::Input' );  use_ok( 'WebPAC::Input' );
11  }  }
12    
 ok(my $abs_path = abs_path($0), "abs_path");  
 $abs_path =~ s#/[^/]*$#/#;      #  
   
13  my $module = 'WebPAC::Input::ISI';  my $module = 'WebPAC::Input::ISI';
14  diag "testing with $module";  diag "testing with $module";
15    
16  ok(my $input = new WebPAC::Input(  ok(my $input = new WebPAC::Input(
17          module => $module,          module => $module,
         no_log => 0,  
18          no_progress_bar => 1,          no_progress_bar => 1,
19          debug => $debug,          %LOG
20  ), "new");  ), "new");
21    
22  ok(my $db = $input->open(  ok(my $db = $input->open(

Legend:
Removed from v.948  
changed lines
  Added in v.949

  ViewVC Help
Powered by ViewVC 1.1.26