diff options
Diffstat (limited to 'macros/texinfo/texinfo/tp/t/html_tests.t')
-rw-r--r-- | macros/texinfo/texinfo/tp/t/html_tests.t | 64 |
1 files changed, 63 insertions, 1 deletions
diff --git a/macros/texinfo/texinfo/tp/t/html_tests.t b/macros/texinfo/texinfo/tp/t/html_tests.t index 7bf1c39e8e..6854dd3a27 100644 --- a/macros/texinfo/texinfo/tp/t/html_tests.t +++ b/macros/texinfo/texinfo/tp/t/html_tests.t @@ -170,7 +170,7 @@ in detaildescription @section sec @shortcontents -'], +', {}, {'CONTENTS_OUTPUT_LOCATION' => 'inline'}], ['test_xrefautomaticsectiontitle', '@node Top @top top @@ -245,6 +245,68 @@ undef, {'test_file' => 'empty_lines_at_beginning_no_setfilename_no_element.texi' @node first, (no_existing_no_manual.info) ', {}, {'CHECK_HTMLXREF' => 1}], +['text_before_top_and_contents_after_title', +' +Some text before top + +@node Top +@top top + +In top. + +@chapter the chap + +@contents + +', {}, {'CONTENTS_OUTPUT_LOCATION' => 'after_title'}], +['example_class', +'@example perl +foreach my $unclosed_file (keys(%unclosed_files)) @{ + if (!close($unclosed_files@{$unclosed_file@})) @{ + warn(sprintf("%s: error on closing %s: %s\n", + $real_command_name, $unclosed_file, $!)); + $error_count++; + _exit($error_count, \@@opened_files); + @} +@} +@end example +'], +['example_multi_class', +'@example C++ , gothic, purple, embed +void StateManager::deallocate() @{ + if(buffer) @{ + delete [] buffer; + buffer = NULL; + @} + if(tmp_state) @{ + delete [] tmp_state; + tmp_state = NULL; + @} + if(in_state) @{ + delete [] in_state; + in_state = NULL; + @} +@} +@end example +'], +['example_empty_arguments', +'@example ,,,,,, +example with empty args +@end example + +@example , ,, ,,, +example with empty args with spaces +@end example + +@example ,,,nonempty,,, +example with empty and non empty args mix +@end example +'], +['example_at_commands_arguments', +'@example some thing @^e @TeX{} @exclamdown{} @code{---} @enddots{} !_- _---_ < " & @ @comma{},@@,0 +example with @@-commands and other special characters +@end example +'], ); my @test_cases_text = ( |