Lines Matching refs:content
49 my ($fh, $json, $title, $content) = @_;
57 $content
170 my $content;
172 $content .= print_defined("URL", $json->{'testsuite'}->{'url'});
173 $content .= print_defined("Version", $json->{'testsuite'}->{'version'});
174 $content .= print_defined("Default timeout", $json->{'defaults'}->{'timeout'}, "seconds");
176 return $content;
188 my $content;
193 $content .= "\n";
196 $content .= reference($name, delimiter => " ");
199 $content .= "\n";
201 return $content;
209 my $content;
217 $content .= reference($letter);
219 $content .= "\n";
221 return $content;
263 my ($letter, $prev_letter, $content);
265 $content = label($k);
266 $content .= $title;
267 $content .= paragraph("Tests containing $desc flag.");
269 $content .= get_test_names(\@{$h});
271 return $content;
279 my $content;
284 $content .= label($k);
285 $content .= h2($title);
288 $content .= content_filter($k2, h3($title2), "$title $title2", $h{$k}{$k2});
291 $content .= content_filter($k, h2($title), $title, \@{$h{$k}});
295 return $content;
348 my $content;
350 $content .= paragraph("Total $#names tests.");
351 $content .= $letters;
352 $content .= get_test_names(\@names);
358 $content .= label($letter);
359 $content .= h2($letter);
363 $content .= hr() if (defined($tmp));
364 $content .= label($name);
365 $content .= h3($name);
366 $content .= $letters;
370 $content .= paragraph(html_a(tag_url("fname", $json->{'tests'}{$name}{fname},
382 $content .= "$doc\n";
384 $content .= "\n";
389 $content .= paragraph("Test timeout is disabled");
391 $content .= paragraph("Test timeout is $json->{'tests'}{$name}{timeout} seconds");
394 $content .= paragraph("Test timeout defaults to $json->{'defaults'}->{'timeout'} seconds");
402 $content .= table . "|Key|Value\n\n"
405 $content .= "|" . reference($k, text => tag2title($k)) . "\n|";
411 $content .= paragraph(table_escape(join(' ', @$v2)));
415 $content .= table_escape(join(', ', @$v));
418 # plain content
419 $content .= table_escape($v);
422 $content .= "\n";
427 $content .= table . "\n";
436 $content .= table . "|Tag|Info\n"
463 $content .= "\n|" . reference($k) . "\n|$v\n";
467 $content .= table . "\n";
473 return $content;
483 content => \&content_about,
488 content => \&content_filters,
493 content => \&content_all_tests,
501 my $content;
505 $content = <<EOL;
512 $content .= "include::$c->{'file'}\[\]\n";
514 print_asciidoc_page($fh, $json, h1($json->{'testsuite'}->{'short_name'} . " test catalog"), $content);
519 print_asciidoc_page($fh, $json, $c->{'title'}, $c->{'content'}->($json));