Parent Directory | Revision Log | Patch
revision 1209 by dpavlin, Fri May 29 21:37:58 2009 UTC | revision 1210 by dpavlin, Sat May 30 15:26:25 2009 UTC | |
---|---|---|
# | Line 19 ok(my $out = new WebPAC::Output::DBI({ | Line 19 ok(my $out = new WebPAC::Output::DBI({ |
19 | ||
20 | ok( $out->init, 'init' ); | ok( $out->init, 'init' ); |
21 | ||
22 | my $ds = { | my $ds = { '_rows' => { |
23 | '_rows' => [ | 'test' => [ |
24 | { foo => 42 }, | { foo => 42 }, |
25 | { foo => 1, bar => 11 }, | { foo => 1, bar => 11 }, |
26 | { foo => 99, baz => 'text' }, | { foo => 99, baz => 'text' }, |
27 | ], | ], |
28 | }; | } }; |
29 | ||
30 | ok( $out->add( 42, $ds ), 'add 42' ); | ok( $out->add( 42, $ds ), 'add 42' ); |
31 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |