/[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 31 by dpavlin, Thu Jan 5 15:36:25 2006 UTC revision 32 by dpavlin, Thu Jan 5 15:38:34 2006 UTC
# Line 3  Line 3 
3  use strict;  use strict;
4  use blib;  use blib;
5    
6  use Test::More tests => 9;  use Test::More tests => 10;
7  use Test::Exception;  use Test::Exception;
8  use Data::Dumper;  use Data::Dumper;
9    
# Line 21  ok($node->set_timeout(42), 'set_timeout' Line 21  ok($node->set_timeout(42), 'set_timeout'
21  throws_ok {$node->set_timeout('foo') } qr/timeout/, 'set_timeout NaN';  throws_ok {$node->set_timeout('foo') } qr/timeout/, 'set_timeout NaN';
22    
23  ok($node->set_auth('foo','bar'), 'set_auth');  ok($node->set_auth('foo','bar'), 'set_auth');
24    
25    cmp_ok($node->status, '==', -1, 'status');

Legend:
Removed from v.31  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26