projects
/
webpac2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1579@llin: dpavlin | 2007-11-10 11:59:27 +0100
[webpac2]
/
t
/
2-input-isi.t
diff --git
a/t/2-input-isi.t
b/t/2-input-isi.t
index
1e450a8
..
5156143
100755
(executable)
--- a/
t/2-input-isi.t
+++ b/
t/2-input-isi.t
@@
-1,30
+1,22
@@
#!/usr/bin/perl -w
#!/usr/bin/perl -w
-use Test::More tests => 9;
-use Test::Exception;
-use Cwd qw/abs_path/;
-use blib;
use strict;
use strict;
+use blib;
-use Data::Dump qw/dump/;
-
-my $debug = @ARGV ? 1 : 0;
+use Test::More tests => 9;
BEGIN {
BEGIN {
+use_ok( 'WebPAC::Test' );
use_ok( 'WebPAC::Input' );
}
use_ok( 'WebPAC::Input' );
}
-ok(my $abs_path = abs_path($0), "abs_path");
-$abs_path =~ s#/[^/]*$#/#; #
-
my $module = 'WebPAC::Input::ISI';
diag "testing with $module";
ok(my $input = new WebPAC::Input(
module => $module,
my $module = 'WebPAC::Input::ISI';
diag "testing with $module";
ok(my $input = new WebPAC::Input(
module => $module,
- no_log => 0,
no_progress_bar => 1,
no_progress_bar => 1,
- debug => $debug,
+ %LOG
), "new");
ok(my $db = $input->open(
), "new");
ok(my $db = $input->open(