/[Search-Estraier]/trunk/t/5_Node.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/5_Node.t

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

revision 103 by dpavlin, Sat Jan 28 20:44:15 2006 UTC revision 106 by dpavlin, Sun Feb 19 14:26:21 2006 UTC
# Line 32  cmp_ok($node->status, '==', -1, 'status' Line 32  cmp_ok($node->status, '==', -1, 'status'
32    
33  SKIP: {  SKIP: {
34    
35  skip "no $test1_node node in Hyper Estraier", 88, unless($node->name);  skip "no $test1_node node in Hyper Estraier", 91, unless($node->name);
36    
37  my @res = ( -1, 200 );  my @res = ( -1, 200 );
38    
# Line 139  ok($node = new Search::Estraier::Node( u Line 139  ok($node = new Search::Estraier::Node( u
139  throws_ok { $node->name } qr/404/, 'croak on error';  throws_ok { $node->name } qr/404/, 'croak on error';
140    
141  # croak_on_error  # croak_on_error
142  ok($node = new Search::Estraier::Node( url => "http://localhost:1978/$test1_node", croak_on_error => 1 ), "new $test1_node");  ok($node = new Search::Estraier::Node( url => "http://localhost:1978/node/$test1_node", croak_on_error => 1 ), "new $test1_node");
143    
144  ok(! $node->uri_to_id('foobar'), 'uri_to_id without croak');  ok(! $node->uri_to_id('foobar'), 'uri_to_id without croak');
145    

Legend:
Removed from v.103  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.26