[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Makefile.am (test_files), tp/Makefile.tres,
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/92formatting.t: remove the documentlanguage_set_* tests and the documentlanguage_set.texi file. |
Date: |
Mon, 02 Jan 2023 17:43:14 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new f59182a01f * tp/Makefile.am (test_files), tp/Makefile.tres,
tp/t/92formatting.t: remove the documentlanguage_set_* tests and the
documentlanguage_set.texi file.
f59182a01f is described below
commit f59182a01fcdfbce9e9bdb561814f5cf243eaa39
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Jan 2 23:42:57 2023 +0100
* tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/92formatting.t:
remove the documentlanguage_set_* tests and the
documentlanguage_set.texi file.
* tp/t/languages.t, tp/Makefile.tres: add tests of setting
documentlanguage similar with tests removed from tp/t/92formatting.t
but using ../../tests/formatting/documentlanguage.texi, which
is more relevant.
---
ChangeLog | 11 +
tp/Makefile.am | 1 -
tp/Makefile.tres | 15 +-
tp/t/92formatting.t | 21 --
tp/t/languages.t | 14 +
.../formatting/documentlanguage_set_option.pl | 299 ---------------------
.../res_html/documentlanguage_set.html | 43 ---
.../formatting/documentlanguage_set_option_info.pl | 298 --------------------
.../res_info/documentlanguage_set.info | 22 --
.../formatting/documentlanguage_set_unknown.pl | 299 ---------------------
.../res_html/documentlanguage_set.html | 43 ---
tp/tests/formatting/documentlanguage.texi | 2 +-
12 files changed, 35 insertions(+), 1033 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 979b67b132..a63f4627ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2023-01-02 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/92formatting.t:
+ remove the documentlanguage_set_* tests and the
+ documentlanguage_set.texi file.
+
+ * tp/t/languages.t, tp/Makefile.tres: add tests of setting
+ documentlanguage similar with tests removed from tp/t/92formatting.t
+ but using ../../tests/formatting/documentlanguage.texi, which
+ is more relevant.
+
2023-01-02 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.tex (@shorttitlepage): Call \headingsoff
diff --git a/tp/Makefile.am b/tp/Makefile.am
index 2754940a59..b221f456b4 100644
--- a/tp/Makefile.am
+++ b/tp/Makefile.am
@@ -195,7 +195,6 @@ test_files = \
t/input_files/cpp_line_latin1.texi \
t/input_files/delcomment.texi \
t/input_files/direntry_dircategory.texi \
- t/input_files/documentlanguage_set.texi \
t/input_files/east_asian_in_w.texi \
t/input_files/empty.texi \
t/input_files/empty_lines_at_beginning_no_setfilename.texi \
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 3b3d8e60c1..e596a05c13 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -560,12 +560,6 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/formatting/direntry_dircategory/res_info/direntry_dircategory.info
\
t/results/formatting/direntry_dircategory/res_info/direntry_dircategory.info-1 \
t/results/formatting/direntry_dircategory/res_info/direntry_dircategory.info-2 \
- t/results/formatting/documentlanguage_set_option.pl \
-
t/results/formatting/documentlanguage_set_option/res_html/documentlanguage_set.html
\
- t/results/formatting/documentlanguage_set_option_info.pl \
-
t/results/formatting/documentlanguage_set_option_info/res_info/documentlanguage_set.info
\
- t/results/formatting/documentlanguage_set_unknown.pl \
-
t/results/formatting/documentlanguage_set_unknown/res_html/documentlanguage_set.html
\
t/results/formatting/float_copying.pl \
t/results/formatting/float_copying/res_html/Copying-and-floats.html \
t/results/formatting/float_copying/res_html/caption-copying-footnote-anchor.html
\
@@ -1226,6 +1220,15 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/itemize/w_argument.pl \
t/results/languages/appendix_translated.pl \
t/results/languages/command_translated.pl \
+ t/results/languages/documentlanguage.pl \
+ t/results/languages/documentlanguage/res_html/documentlanguage.html \
+ t/results/languages/documentlanguage/res_info/documentlanguage.info \
+ t/results/languages/documentlanguage_option.pl \
+ t/results/languages/documentlanguage_option/res_html/documentlanguage.html \
+ t/results/languages/documentlanguage_option/res_info/documentlanguage.info \
+ t/results/languages/documentlanguage_unknown.pl \
+ t/results/languages/documentlanguage_unknown/res_html/documentlanguage.html \
+ t/results/languages/documentlanguage_unknown/res_info/documentlanguage.info \
t/results/languages/multiple.pl \
t/results/languages/multiple_in_preamble.pl \
t/results/languages/multiple_in_preamble_before_node.pl \
diff --git a/tp/t/92formatting.t b/tp/t/92formatting.t
index f2fb13e549..834390ca60 100644
--- a/tp/t/92formatting.t
+++ b/tp/t/92formatting.t
@@ -104,27 +104,6 @@ my @test_cases = (
},
{'DATE_IN_HEADER' => 1}
],
-['documentlanguage_set_option',
- undef,
- {'test_file' => 'documentlanguage_set.texi',
- 'test_formats' => ['file_html'],
- 'documentlanguage' => 'fr'},
- {'documentlanguage' => 'fr'},
-],
-['documentlanguage_set_unknown',
- undef,
- {'test_file' => 'documentlanguage_set.texi',
- 'test_formats' => ['file_html'],
- 'documentlanguage' => 'unknown'},
- {'documentlanguage' => 'unknown'},
-],
-['documentlanguage_set_option_info',
- undef,
- {'test_file' => 'documentlanguage_set.texi',
- 'test_formats' => ['file_info'],
- 'documentlanguage' => 'fr'},
- {'documentlanguage' => 'fr'},
-],
['float_copying',
undef,
{'test_file' => 'float_copying.texi',
diff --git a/tp/t/languages.t b/tp/t/languages.t
index f58b116d11..6698f2d63d 100644
--- a/tp/t/languages.t
+++ b/tp/t/languages.t
@@ -213,6 +213,20 @@ $multiple_lang_chapters_text,
{'test_input_file_name' => 'multiple_lang_chapters.texi',
'EXPANDED_FORMATS' => ['html']},
{'SPLIT' => 0, 'TEXI2HTML' => 1, 'TEST' => 1}],
+['documentlanguage',
+ undef, {'test_file' => '../../tests/formatting/documentlanguage.texi',},
+ {'SPLIT' => 0},
+],
+['documentlanguage_option',
+ undef, {'test_file' => '../../tests/formatting/documentlanguage.texi',
+ 'documentlanguage' => 'fr'},
+ {'SPLIT' => 0, 'documentlanguage' => 'fr'},
+],
+['documentlanguage_unknown',
+ undef, {'test_file' => '../../tests/formatting/documentlanguage.texi',
+ 'documentlanguage' => 'unknown'},
+ {'SPLIT' => 0, 'documentlanguage' => 'unknown'},
+],
);
# expand latex
diff --git a/tp/t/results/formatting/documentlanguage_set_option.pl
b/tp/t/results/formatting/documentlanguage_set_option.pl
deleted file mode 100644
index 1c6266f0c1..0000000000
--- a/tp/t/results/formatting/documentlanguage_set_option.pl
+++ /dev/null
@@ -1,299 +0,0 @@
-use vars qw(%result_texis %result_texts %result_trees %result_errors
- %result_indices %result_sectioning %result_nodes %result_menus
- %result_floats %result_converted %result_converted_errors
- %result_elements %result_directions_text %result_indices_sort_strings);
-
-use utf8;
-
-$result_trees{'documentlanguage_set_option'} = {
- 'contents' => [
- {
- 'contents' => [
- {
- 'contents' => [
- {
- 'text' => '\\input texinfo @c -*-texinfo-*-
-',
- 'type' => 'text_before_beginning'
- }
- ],
- 'type' => 'preamble_before_beginning'
- },
- {
- 'contents' => [
- {
- 'args' => [
- {
- 'text' => '
-',
- 'type' => 'misc_arg'
- }
- ],
- 'cmdname' => 'c',
- 'extra' => {
- 'misc_args' => [
- '
-'
- ]
- }
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'pt'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'documentlanguage',
- 'extra' => {
- 'text_arg' => 'pt'
- },
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 4,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'Test '
- },
- {
- 'cmdname' => '@'
- },
- {
- 'text' => 'documentlanguage set'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'settitle',
- 'extra' => {},
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 5,
- 'macro' => ''
- }
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- }
- ],
- 'type' => 'preamble_before_content'
- }
- ],
- 'type' => 'before_node_section'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'Top'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'node',
- 'extra' => {
- 'node_content' => [
- {}
- ],
- 'nodes_manuals' => [
- {
- 'node_content' => [
- {}
- ],
- 'normalized' => 'Top'
- }
- ],
- 'normalized' => 'Top'
- },
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 7,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'cmdname' => '@'
- },
- {
- 'text' => 'documentlanguage set'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'top',
- 'contents' => [
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- },
- {
- 'contents' => [
- {
- 'text' => 'Text.
-'
- }
- ],
- 'type' => 'paragraph'
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- }
- ],
- 'extra' => {},
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 8,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'text' => '
-',
- 'type' => 'misc_arg'
- }
- ],
- 'cmdname' => 'bye'
- }
- ],
- 'type' => 'document_root'
-};
-$result_trees{'documentlanguage_set_option'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'documentlanguage_set_option'}{'contents'}[1]{'args'}[0]{'contents'}[0];
-$result_trees{'documentlanguage_set_option'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'documentlanguage_set_option'}{'contents'}[1]{'args'}[0]{'contents'}[0];
-
-$result_texis{'documentlanguage_set_option'} = '\\input texinfo @c
-*-texinfo-*-
-@c
-
-@documentlanguage pt
-@settitle Test @@documentlanguage set
-
-@node Top
-@top @@documentlanguage set
-
-Text.
-
-@bye
-';
-
-
-$result_texts{'documentlanguage_set_option'} = '
-
-@documentlanguage set
-*********************
-
-Text.
-
-';
-
-$result_sectioning{'documentlanguage_set_option'} = {
- 'structure' => {
- 'section_childs' => [
- {
- 'cmdname' => 'top',
- 'extra' => {
- 'associated_node' => {
- 'cmdname' => 'node',
- 'extra' => {
- 'normalized' => 'Top'
- },
- 'info' => {}
- }
- },
- 'info' => {},
- 'structure' => {
- 'section_level' => 0,
- 'section_up' => {}
- }
- }
- ],
- 'section_level' => -1
- }
-};
-$result_sectioning{'documentlanguage_set_option'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
= $result_sectioning{'documentlanguage_set_option'};
-
-$result_nodes{'documentlanguage_set_option'} = {
- 'cmdname' => 'node',
- 'extra' => {
- 'associated_section' => {
- 'cmdname' => 'top',
- 'extra' => {},
- 'info' => {},
- 'structure' => {}
- },
- 'normalized' => 'Top'
- },
- 'info' => {}
-};
-
-$result_menus{'documentlanguage_set_option'} = {
- 'cmdname' => 'node',
- 'extra' => {
- 'normalized' => 'Top'
- },
- 'info' => {}
-};
-
-$result_errors{'documentlanguage_set_option'} = [];
-
-
-$result_floats{'documentlanguage_set_option'} = {};
-
-
-1;
diff --git
a/tp/t/results/formatting/documentlanguage_set_option/res_html/documentlanguage_set.html
b/tp/t/results/formatting/documentlanguage_set_option/res_html/documentlanguage_set.html
deleted file mode 100644
index 021a2b4b98..0000000000
---
a/tp/t/results/formatting/documentlanguage_set_option/res_html/documentlanguage_set.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html>
-<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Test @documentlanguage set</title>
-
-<meta name="description" content="Test @documentlanguage set">
-<meta name="keywords" content="Test @documentlanguage set">
-<meta name="resource-type" content="document">
-<meta name="distribution" content="global">
-<meta name="Generator" content="texi2any">
-<meta name="viewport" content="width=device-width,initial-scale=1">
-
-<style type="text/css">
-<!--
-h1.settitle {text-align:center}
-span.program-in-footer {font-size: smaller}
--->
-</style>
-
-
-</head>
-
-<body lang="fr">
-<h1 class="settitle">Test @documentlanguage set</h1>
-<hr>
-
-
-<div class="top-level-extent" id="Top">
-<h1 class="top" id="g_t_0040documentlanguage-set">@documentlanguage set</h1>
-
-<p>Text.
-</p>
-<hr>
-</div>
-<p>
- <span class="program-in-footer">Ce document a été
généré <em class="emph">a sunny day</em> en utilisant <a
class="uref" href="http://www.gnu.org/software/texinfo/"><em
class="emph">texi2any</em></a>.</span>
-</p>
-
-
-</body>
-</html>
diff --git a/tp/t/results/formatting/documentlanguage_set_option_info.pl
b/tp/t/results/formatting/documentlanguage_set_option_info.pl
deleted file mode 100644
index 0bbb89c0ba..0000000000
--- a/tp/t/results/formatting/documentlanguage_set_option_info.pl
+++ /dev/null
@@ -1,298 +0,0 @@
-use vars qw(%result_texis %result_texts %result_trees %result_errors
- %result_indices %result_sectioning %result_nodes %result_menus
- %result_floats %result_converted %result_converted_errors
- %result_elements %result_directions_text %result_indices_sort_strings);
-
-use utf8;
-
-$result_trees{'documentlanguage_set_option_info'} = {
- 'contents' => [
- {
- 'contents' => [
- {
- 'contents' => [
- {
- 'text' => '\\input texinfo @c -*-texinfo-*-
-',
- 'type' => 'text_before_beginning'
- }
- ],
- 'type' => 'preamble_before_beginning'
- },
- {
- 'contents' => [
- {
- 'args' => [
- {
- 'text' => '
-',
- 'type' => 'misc_arg'
- }
- ],
- 'cmdname' => 'c',
- 'extra' => {
- 'misc_args' => [
- '
-'
- ]
- }
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'pt'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'documentlanguage',
- 'extra' => {
- 'text_arg' => 'pt'
- },
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 4,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'Test '
- },
- {
- 'cmdname' => '@'
- },
- {
- 'text' => 'documentlanguage set'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'settitle',
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 5,
- 'macro' => ''
- }
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- }
- ],
- 'type' => 'preamble_before_content'
- }
- ],
- 'type' => 'before_node_section'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'Top'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'node',
- 'extra' => {
- 'node_content' => [
- {}
- ],
- 'nodes_manuals' => [
- {
- 'node_content' => [
- {}
- ],
- 'normalized' => 'Top'
- }
- ],
- 'normalized' => 'Top'
- },
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 7,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'cmdname' => '@'
- },
- {
- 'text' => 'documentlanguage set'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'top',
- 'contents' => [
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- },
- {
- 'contents' => [
- {
- 'text' => 'Text.
-'
- }
- ],
- 'type' => 'paragraph'
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- }
- ],
- 'extra' => {},
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 8,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'text' => '
-',
- 'type' => 'misc_arg'
- }
- ],
- 'cmdname' => 'bye'
- }
- ],
- 'type' => 'document_root'
-};
-$result_trees{'documentlanguage_set_option_info'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'documentlanguage_set_option_info'}{'contents'}[1]{'args'}[0]{'contents'}[0];
-$result_trees{'documentlanguage_set_option_info'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'documentlanguage_set_option_info'}{'contents'}[1]{'args'}[0]{'contents'}[0];
-
-$result_texis{'documentlanguage_set_option_info'} = '\\input texinfo @c
-*-texinfo-*-
-@c
-
-@documentlanguage pt
-@settitle Test @@documentlanguage set
-
-@node Top
-@top @@documentlanguage set
-
-Text.
-
-@bye
-';
-
-
-$result_texts{'documentlanguage_set_option_info'} = '
-
-@documentlanguage set
-*********************
-
-Text.
-
-';
-
-$result_sectioning{'documentlanguage_set_option_info'} = {
- 'structure' => {
- 'section_childs' => [
- {
- 'cmdname' => 'top',
- 'extra' => {
- 'associated_node' => {
- 'cmdname' => 'node',
- 'extra' => {
- 'normalized' => 'Top'
- },
- 'info' => {}
- }
- },
- 'info' => {},
- 'structure' => {
- 'section_level' => 0,
- 'section_up' => {}
- }
- }
- ],
- 'section_level' => -1
- }
-};
-$result_sectioning{'documentlanguage_set_option_info'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
= $result_sectioning{'documentlanguage_set_option_info'};
-
-$result_nodes{'documentlanguage_set_option_info'} = {
- 'cmdname' => 'node',
- 'extra' => {
- 'associated_section' => {
- 'cmdname' => 'top',
- 'extra' => {},
- 'info' => {},
- 'structure' => {}
- },
- 'normalized' => 'Top'
- },
- 'info' => {}
-};
-
-$result_menus{'documentlanguage_set_option_info'} = {
- 'cmdname' => 'node',
- 'extra' => {
- 'normalized' => 'Top'
- },
- 'info' => {}
-};
-
-$result_errors{'documentlanguage_set_option_info'} = [];
-
-
-$result_floats{'documentlanguage_set_option_info'} = {};
-
-
-1;
diff --git
a/tp/t/results/formatting/documentlanguage_set_option_info/res_info/documentlanguage_set.info
b/tp/t/results/formatting/documentlanguage_set_option_info/res_info/documentlanguage_set.info
deleted file mode 100644
index c9bb6b4799..0000000000
---
a/tp/t/results/formatting/documentlanguage_set_option_info/res_info/documentlanguage_set.info
+++ /dev/null
@@ -1,22 +0,0 @@
-This is documentlanguage_set.info, produced by texi2any version from
-documentlanguage_set.texi.
-
-
-File: documentlanguage_set.info, Node: Top, Up: (dir)
-
-@documentlanguage set
-*********************
-
-Text.
-
-
-
-Tag Table:
-Node: Top97
-
-End Tag Table
-
-
-Local Variables:
-coding: utf-8
-End:
diff --git a/tp/t/results/formatting/documentlanguage_set_unknown.pl
b/tp/t/results/formatting/documentlanguage_set_unknown.pl
deleted file mode 100644
index b6d04f94d4..0000000000
--- a/tp/t/results/formatting/documentlanguage_set_unknown.pl
+++ /dev/null
@@ -1,299 +0,0 @@
-use vars qw(%result_texis %result_texts %result_trees %result_errors
- %result_indices %result_sectioning %result_nodes %result_menus
- %result_floats %result_converted %result_converted_errors
- %result_elements %result_directions_text %result_indices_sort_strings);
-
-use utf8;
-
-$result_trees{'documentlanguage_set_unknown'} = {
- 'contents' => [
- {
- 'contents' => [
- {
- 'contents' => [
- {
- 'text' => '\\input texinfo @c -*-texinfo-*-
-',
- 'type' => 'text_before_beginning'
- }
- ],
- 'type' => 'preamble_before_beginning'
- },
- {
- 'contents' => [
- {
- 'args' => [
- {
- 'text' => '
-',
- 'type' => 'misc_arg'
- }
- ],
- 'cmdname' => 'c',
- 'extra' => {
- 'misc_args' => [
- '
-'
- ]
- }
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'pt'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'documentlanguage',
- 'extra' => {
- 'text_arg' => 'pt'
- },
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 4,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'Test '
- },
- {
- 'cmdname' => '@'
- },
- {
- 'text' => 'documentlanguage set'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'settitle',
- 'extra' => {},
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 5,
- 'macro' => ''
- }
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- }
- ],
- 'type' => 'preamble_before_content'
- }
- ],
- 'type' => 'before_node_section'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'text' => 'Top'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'node',
- 'extra' => {
- 'node_content' => [
- {}
- ],
- 'nodes_manuals' => [
- {
- 'node_content' => [
- {}
- ],
- 'normalized' => 'Top'
- }
- ],
- 'normalized' => 'Top'
- },
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 7,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'cmdname' => '@'
- },
- {
- 'text' => 'documentlanguage set'
- }
- ],
- 'info' => {
- 'spaces_after_argument' => '
-'
- },
- 'type' => 'line_arg'
- }
- ],
- 'cmdname' => 'top',
- 'contents' => [
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- },
- {
- 'contents' => [
- {
- 'text' => 'Text.
-'
- }
- ],
- 'type' => 'paragraph'
- },
- {
- 'text' => '
-',
- 'type' => 'empty_line'
- }
- ],
- 'extra' => {},
- 'info' => {
- 'spaces_before_argument' => ' '
- },
- 'source_info' => {
- 'file_name' => 'documentlanguage_set.texi',
- 'line_nr' => 8,
- 'macro' => ''
- }
- },
- {
- 'args' => [
- {
- 'text' => '
-',
- 'type' => 'misc_arg'
- }
- ],
- 'cmdname' => 'bye'
- }
- ],
- 'type' => 'document_root'
-};
-$result_trees{'documentlanguage_set_unknown'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'documentlanguage_set_unknown'}{'contents'}[1]{'args'}[0]{'contents'}[0];
-$result_trees{'documentlanguage_set_unknown'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'documentlanguage_set_unknown'}{'contents'}[1]{'args'}[0]{'contents'}[0];
-
-$result_texis{'documentlanguage_set_unknown'} = '\\input texinfo @c
-*-texinfo-*-
-@c
-
-@documentlanguage pt
-@settitle Test @@documentlanguage set
-
-@node Top
-@top @@documentlanguage set
-
-Text.
-
-@bye
-';
-
-
-$result_texts{'documentlanguage_set_unknown'} = '
-
-@documentlanguage set
-*********************
-
-Text.
-
-';
-
-$result_sectioning{'documentlanguage_set_unknown'} = {
- 'structure' => {
- 'section_childs' => [
- {
- 'cmdname' => 'top',
- 'extra' => {
- 'associated_node' => {
- 'cmdname' => 'node',
- 'extra' => {
- 'normalized' => 'Top'
- },
- 'info' => {}
- }
- },
- 'info' => {},
- 'structure' => {
- 'section_level' => 0,
- 'section_up' => {}
- }
- }
- ],
- 'section_level' => -1
- }
-};
-$result_sectioning{'documentlanguage_set_unknown'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
= $result_sectioning{'documentlanguage_set_unknown'};
-
-$result_nodes{'documentlanguage_set_unknown'} = {
- 'cmdname' => 'node',
- 'extra' => {
- 'associated_section' => {
- 'cmdname' => 'top',
- 'extra' => {},
- 'info' => {},
- 'structure' => {}
- },
- 'normalized' => 'Top'
- },
- 'info' => {}
-};
-
-$result_menus{'documentlanguage_set_unknown'} = {
- 'cmdname' => 'node',
- 'extra' => {
- 'normalized' => 'Top'
- },
- 'info' => {}
-};
-
-$result_errors{'documentlanguage_set_unknown'} = [];
-
-
-$result_floats{'documentlanguage_set_unknown'} = {};
-
-
-1;
diff --git
a/tp/t/results/formatting/documentlanguage_set_unknown/res_html/documentlanguage_set.html
b/tp/t/results/formatting/documentlanguage_set_unknown/res_html/documentlanguage_set.html
deleted file mode 100644
index 7c2814c6a6..0000000000
---
a/tp/t/results/formatting/documentlanguage_set_unknown/res_html/documentlanguage_set.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html>
-<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Test @documentlanguage set</title>
-
-<meta name="description" content="Test @documentlanguage set">
-<meta name="keywords" content="Test @documentlanguage set">
-<meta name="resource-type" content="document">
-<meta name="distribution" content="global">
-<meta name="Generator" content="texi2any">
-<meta name="viewport" content="width=device-width,initial-scale=1">
-
-<style type="text/css">
-<!--
-h1.settitle {text-align:center}
-span.program-in-footer {font-size: smaller}
--->
-</style>
-
-
-</head>
-
-<body lang="unknown">
-<h1 class="settitle">Test @documentlanguage set</h1>
-<hr>
-
-
-<div class="top-level-extent" id="Top">
-<h1 class="top" id="g_t_0040documentlanguage-set">@documentlanguage set</h1>
-
-<p>Text.
-</p>
-<hr>
-</div>
-<p>
- <span class="program-in-footer">This document was generated on <em
class="emph">a sunny day</em> using <a class="uref"
href="http://www.gnu.org/software/texinfo/"><em
class="emph">texi2any</em></a>.</span>
-</p>
-
-
-</body>
-</html>
diff --git a/tp/tests/formatting/documentlanguage.texi
b/tp/tests/formatting/documentlanguage.texi
index fd76344525..32b3bed094 100644
--- a/tp/tests/formatting/documentlanguage.texi
+++ b/tp/tests/formatting/documentlanguage.texi
@@ -2,7 +2,7 @@
@c this document is setup to detect when the documentlanguage was not
@c set according to command line, but according to document. This
-@c can mostly happen in Parser, as any converter being initialized with
+@c is important to test that in the Parser, as converters initialized with
@c Texinfo::Convert::Converter converter() and with values accessed by
@c get_conf() will use the command line.
@c This is tricky to demonstrate, as documentlanguage is not used much
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/92formatting.t: remove the documentlanguage_set_* tests and the documentlanguage_set.texi file.,
Patrice Dumas <=
- Prev by Date:
branch master updated: * tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/55conditionals.t, tp/t/92formatting.t, tp/tests/formatting/Makefile.am (EXTRA_DIST), tp/tests/formatting/list-of-tests: move defcondx_Dbar and defcondx_Ubar tests to tp/t/55conditionals.t. Add also similar tests in tp/tests/formatting/list-of-tests to test the command line. Move defxcond.texi to tp/tests/formatting/.
- Next by Date:
branch master updated: Add test results.
- Previous by thread:
branch master updated: * tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/55conditionals.t, tp/t/92formatting.t, tp/tests/formatting/Makefile.am (EXTRA_DIST), tp/tests/formatting/list-of-tests: move defcondx_Dbar and defcondx_Ubar tests to tp/t/55conditionals.t. Add also similar tests in tp/tests/formatting/list-of-tests to test the command line. Move defxcond.texi to tp/tests/formatting/.
- Next by thread:
branch master updated: Add test results.
- Index(es):