--- trunk/t/5_Node.t 2006/01/05 23:38:32 42 +++ trunk/t/5_Node.t 2006/01/06 00:04:28 43 @@ -3,7 +3,7 @@ use strict; use blib; -use Test::More tests => 35; +use Test::More tests => 40; use Test::Exception; use Data::Dumper; @@ -59,10 +59,15 @@ ok( $node->out_doc( 0 ), 'out_doc'); -for ( 1 .. 10 ) { - ok( $node->out_doc_by_uri( 'test' .$_ ), "out_doc_by_uri test$_"); +for ( 1 .. 5 ) { + ok( $node->out_doc_by_uri( 'test' . $_ ), "out_doc_by_uri test$_"); } $doc->add_attr('@uri', 'data001'); $doc->add_attr('foo', 'bar'); ok( $node->edit_doc( $doc ), 'edit_doc'); + +for ( 6 .. 10 ) { + ok( $node->get_doc( $_ ), "get_doc $_"); + ok( $node->get_doc_by_uri( 'test' . $_ ), "get_doc_by_uri test$_"); +}