/[webpac2]/trunk/t/7-est.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/7-est.t

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

revision 457 by dpavlin, Mon Dec 19 21:35:37 2005 UTC revision 458 by dpavlin, Wed May 10 14:08:15 2006 UTC
# Line 2  Line 2 
2    
3  use strict;  use strict;
4    
5  use Test::More tests => 12;  use Test::More tests => 10;
6  use Test::Exception;  use Test::Exception;
7  use Cwd qw/abs_path/;  use Cwd qw/abs_path/;
8  use File::Temp qw/tempdir/;  use File::Temp qw/tempdir/;
# Line 30  my $config = { Line 30  my $config = {
30    
31  ok(my $est = new WebPAC::Output::Estraier( %{ $config } ), "new WebPAC::Output::Estraier");  ok(my $est = new WebPAC::Output::Estraier( %{ $config } ), "new WebPAC::Output::Estraier");
32    
 ok(my $list = $est->master( action => 'nodelist' ), "nodelist");  
   
 like($list , qr/$config->{database}/, "found $config->{database}");  
   
33  my $ds = {  my $ds = {
34          'Source' => {          'Source' => {
35                  'name' => 'Izvor: ',                  'name' => 'Izvor: ',

Legend:
Removed from v.457  
changed lines
  Added in v.458

  ViewVC Help
Powered by ViewVC 1.1.26