/[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 41 by dpavlin, Thu Jan 5 23:32:31 2006 UTC revision 42 by dpavlin, Thu Jan 5 23:38:32 2006 UTC
# Line 3  Line 3 
3  use strict;  use strict;
4  use blib;  use blib;
5    
6  use Test::More tests => 34;  use Test::More tests => 35;    
7  use Test::Exception;  use Test::Exception;
8  use Data::Dumper;  use Data::Dumper;
9    
# Line 62  ok( $node->out_doc( 0 ), 'out_doc'); Line 62  ok( $node->out_doc( 0 ), 'out_doc');
62  for ( 1 .. 10 ) {  for ( 1 .. 10 ) {
63          ok( $node->out_doc_by_uri( 'test' .$_ ), "out_doc_by_uri test$_");          ok( $node->out_doc_by_uri( 'test' .$_ ), "out_doc_by_uri test$_");
64  }  }
65    
66    $doc->add_attr('@uri', 'data001');
67    $doc->add_attr('foo', 'bar');
68    ok( $node->edit_doc( $doc ), 'edit_doc');

Legend:
Removed from v.41  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26