]>
iEval git - html-element-library.git/blob - t/table2.t
6 my $root = 't/html/table2';
7 my $d = data
::table2
->load_data;
8 my $tree = mktree
't/html/table2.html';
10 for my $dataset (keys %$d) {
11 my %tbody = ('4dig' => 0, '3dig' => 1);
13 debug
=> $ENV{TEST_VERBOSE
},
14 table_data
=> $d->{$dataset},
15 tr_base_id
=> $dataset,
18 my $tbody = ($t->look_down('_tag' => 'tbody'))[$tbody{$dataset}];
19 my @tbody_child = $tbody->content_list;
20 $tbody_child[$_]->detach for (1 .. $#tbody_child) ;
25 my @td = $tr->look_down('_tag' => 'td');
28 $td[$i]->splice_content(0, 1, $data->[$i]);
34 isxml
$tree, 't/html/table2.exp', 'table2';
This page took 0.053144 seconds and 4 git commands to generate.