[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp TODO t/16raw.t t/18itemize.t t/55con...
From: |
Patrice Dumas |
Subject: |
texinfo/tp TODO t/16raw.t t/18itemize.t t/55con... |
Date: |
Sun, 24 Oct 2010 08:45:28 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 10/10/24 08:45:28
Modified files:
tp : TODO
tp/t : 16raw.t 18itemize.t 55conditionals.t
57invalid_nestings.t
Added files:
tp/t : 22xtable.t
tp/t/results/conditionals: ignore_not_closed.pl
tp/t/results/invalid_nestings:
item_tab_outside_of_table_lists.pl
itemx_in_itemize_enumerate_in_table.pl
tp/t/results/itemize: headitem_itemx_in_enumerate.pl
headitem_itemx_in_itemize.pl
tp/t/results/raw: raw_not_closed.pl
tp/t/results/xtable: headitem_in_table.pl
invalid_command_and_brace_in_table.pl
lone_end_table.pl
Log message:
Tests for more invalid constructs.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/16raw.t?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/18itemize.t?cvsroot=texinfo&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/55conditionals.t?cvsroot=texinfo&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/57invalid_nestings.t?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/22xtable.t?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/conditionals/ignore_not_closed.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/item_tab_outside_of_table_lists.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/itemize/headitem_itemx_in_enumerate.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/itemize/headitem_itemx_in_itemize.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/raw/raw_not_closed.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/xtable/headitem_in_table.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/xtable/invalid_command_and_brace_in_table.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/xtable/lone_end_table.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- TODO 23 Oct 2010 22:37:42 -0000 1.34
+++ TODO 24 Oct 2010 08:45:27 -0000 1.35
@@ -31,10 +31,6 @@
no warning in
t/19def.t empty_def_arguments
-missing test:
-an end table without correspondiing opening part
address@hidden table
-
Texinfo::Convert::Text
@c in menu lines (and maybe at other places) should be replaced by
@@ -87,3 +83,8 @@
invalid/empty_ifclear.texi
invalid/footnote_not_closed.texi
invalid/formats_not_closed.texi
+invalid/html_not_closed.texi
+invalid/ignored_not_closed.texi
+invalid/invalid_command_in_table.texi
+invalid/itemx_in_itemize.texi
+
Index: t/16raw.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/16raw.t,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/16raw.t 23 Oct 2010 15:36:53 -0000 1.7
+++ t/16raw.t 24 Oct 2010 08:45:27 -0000 1.8
@@ -56,6 +56,12 @@
@end tex
End.
+'],
+['raw_not_closed',
+'@html
+
+This is some html
+<address> my address </address>
']
);
Index: t/18itemize.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/18itemize.t,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- t/18itemize.t 23 Oct 2010 15:36:53 -0000 1.4
+++ t/18itemize.t 24 Oct 2010 08:45:27 -0000 1.5
@@ -28,6 +28,20 @@
'],
['lone_end_itemize',
'@end itemize
+'],
+['headitem_itemx_in_itemize',
+'@itemize
address@hidden item
address@hidden itemx
address@hidden headitem
address@hidden itemize
+'],
+['headitem_itemx_in_enumerate',
+'@enumerate
address@hidden item enumerate
address@hidden itemx enumerate
address@hidden headitem enumerate
address@hidden enumerate
']
);
Index: t/55conditionals.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/55conditionals.t,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- t/55conditionals.t 23 Oct 2010 22:37:42 -0000 1.8
+++ t/55conditionals.t 24 Oct 2010 08:45:27 -0000 1.9
@@ -112,6 +112,11 @@
@end ifset
'],
+['ignore_not_closed',
+'@ignore
+
+This is ignored
+']
);
Index: t/57invalid_nestings.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/57invalid_nestings.t,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/57invalid_nestings.t 23 Oct 2010 22:37:42 -0000 1.5
+++ t/57invalid_nestings.t 24 Oct 2010 08:45:27 -0000 1.6
@@ -164,6 +164,27 @@
@end example
'],
+['itemx_in_itemize_enumerate_in_table',
+'@table @strong
address@hidden item
+
+In item, nested itemize
address@hidden
address@hidden in nested itemize itemx
address@hidden itemize
+
address@hidden
address@hidden in nested enumerate itemx
address@hidden enumerate
+
address@hidden table
+'],
+['item_tab_outside_of_table_lists',
+'@itemx itemx outside.
address@hidden headitem outside.
address@hidden someitem outside.
address@hidden tab outside
+']
);
our ($arg_test_case, $arg_generate, $arg_debug);
Index: t/22xtable.t
===================================================================
RCS file: t/22xtable.t
diff -N t/22xtable.t
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/22xtable.t 24 Oct 2010 08:45:27 -0000 1.1
@@ -0,0 +1,32 @@
+use strict;
+
+require 't/test_utils.pl';
+
+my @test_cases = (
+['lone_end_table',
+'Text.
address@hidden table
+'],
+['invalid_command_and_brace_in_table',
+'@table
+{ @itemTop,, title
+long title}
+Item line
address@hidden table
+'],
+['headitem_in_table',
+'@table @strong
address@hidden headitem in table
+
+headitem In table text.
+
address@hidden item
address@hidden table
+']
+);
+
+our ($arg_test_case, $arg_generate, $arg_debug);
+
+run_all ('xtable', address@hidden, $arg_test_case,
+ $arg_generate, $arg_debug);
+
Index: t/results/conditionals/ignore_not_closed.pl
===================================================================
RCS file: t/results/conditionals/ignore_not_closed.pl
diff -N t/results/conditionals/ignore_not_closed.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/conditionals/ignore_not_closed.pl 24 Oct 2010 08:45:27 -0000
1.1
@@ -0,0 +1,57 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'ignore_not_closed'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'ignore',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'raw'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'This is ignored
+',
+ 'type' => 'raw'
+ }
+ ],
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'ignore_not_closed'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'ignore_not_closed'}{'contents'}[0];
+$result_trees{'ignore_not_closed'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'ignore_not_closed'}{'contents'}[0];
+$result_trees{'ignore_not_closed'}{'contents'}[0]{'contents'}[2]{'parent'} =
$result_trees{'ignore_not_closed'}{'contents'}[0];
+$result_trees{'ignore_not_closed'}{'contents'}[0]{'parent'} =
$result_trees{'ignore_not_closed'};
+
+$result_texis{'ignore_not_closed'} = '@ignore
+
+This is ignored
address@hidden ignore';
+
+
+$result_texts{'ignore_not_closed'} = '';
+
+$result_errors{'ignore_not_closed'} = [
+ {
+ 'error_line' => ':3: No matching address@hidden ignore\'
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => 'No matching address@hidden ignore\'',
+ 'type' => 'error'
+ }
+];
+
+
Index: t/results/invalid_nestings/item_tab_outside_of_table_lists.pl
===================================================================
RCS file: t/results/invalid_nestings/item_tab_outside_of_table_lists.pl
diff -N t/results/invalid_nestings/item_tab_outside_of_table_lists.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/invalid_nestings/item_tab_outside_of_table_lists.pl 24 Oct
2010 08:45:27 -0000 1.1
@@ -0,0 +1,124 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'item_tab_outside_of_table_lists'} = {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'itemx outside.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'headitem outside.
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' someitem outside.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tab outside
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[0]{'parent'} =
$result_trees{'item_tab_outside_of_table_lists'};
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'item_tab_outside_of_table_lists'}{'contents'}[1];
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[1]{'parent'} =
$result_trees{'item_tab_outside_of_table_lists'};
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[2]{'parent'} =
$result_trees{'item_tab_outside_of_table_lists'};
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[3]{'contents'}[0]{'parent'}
= $result_trees{'item_tab_outside_of_table_lists'}{'contents'}[3];
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[3]{'contents'}[1]{'parent'}
= $result_trees{'item_tab_outside_of_table_lists'}{'contents'}[3];
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[3]{'parent'} =
$result_trees{'item_tab_outside_of_table_lists'};
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[4]{'parent'} =
$result_trees{'item_tab_outside_of_table_lists'};
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[5]{'contents'}[0]{'parent'}
= $result_trees{'item_tab_outside_of_table_lists'}{'contents'}[5];
+$result_trees{'item_tab_outside_of_table_lists'}{'contents'}[5]{'parent'} =
$result_trees{'item_tab_outside_of_table_lists'};
+
+$result_texis{'item_tab_outside_of_table_lists'} = ' itemx outside.
+ headitem outside.
+ someitem outside.
+ tab outside
+';
+
+
+$result_texts{'item_tab_outside_of_table_lists'} = 'itemx outside.
+headitem outside.
+ someitem outside.
+tab outside
+';
+
+$result_errors{'item_tab_outside_of_table_lists'} = [
+ {
+ 'error_line' => ':1: @itemx outside of table or list
+',
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => '',
+ 'text' => '@itemx outside of table or list',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':2: @headitem outside of table or list
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => '@headitem outside of table or list',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':3: Unknown command `someitem\'
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => 'Unknown command `someitem\'',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':4: ignoring @tab outside of multitable
+',
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => '',
+ 'text' => 'ignoring @tab outside of multitable',
+ 'type' => 'error'
+ }
+];
+
+
Index: t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl
===================================================================
RCS file: t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl
diff -N t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl 24 Oct
2010 08:45:27 -0000 1.1
@@ -0,0 +1,262 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'itemx_in_itemize_enumerate_in_table'} = {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'cmdname' => 'strong',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'table',
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'before_item'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'item'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'item',
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'In item, nested itemize
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'cmdname' => 'itemize',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'in nested itemize itemx
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_item'
+ }
+ ],
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'enumerate',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'in nested enumerate itemx
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_item'
+ }
+ ],
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'args'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'args'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'args'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[3];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[3]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'contents'}[1];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'contents'}[1];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'contents'}[1]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[4]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[5]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[6]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'contents'}[1];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[1];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'contents'}[1];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'parent'}
=
$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[7]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[8]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'contents'}[9]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0];
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[0]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'};
+$result_trees{'itemx_in_itemize_enumerate_in_table'}{'contents'}[1]{'parent'}
= $result_trees{'itemx_in_itemize_enumerate_in_table'};
+
+$result_texis{'itemx_in_itemize_enumerate_in_table'} = '@table @strong
address@hidden item
+
+In item, nested itemize
address@hidden
+ in nested itemize itemx
address@hidden itemize
+
address@hidden
+ in nested enumerate itemx
address@hidden enumerate
+
address@hidden table
+';
+
+
+$result_texts{'itemx_in_itemize_enumerate_in_table'} = 'item
+
+In item, nested itemize
+in nested itemize itemx
+
+in nested enumerate itemx
+
+';
+
+$result_errors{'itemx_in_itemize_enumerate_in_table'} = [
+ {
+ 'error_line' => ':6: @itemx not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => '@itemx not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':10: @itemx not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => '',
+ 'text' => '@itemx not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ }
+];
+
+
Index: t/results/itemize/headitem_itemx_in_enumerate.pl
===================================================================
RCS file: t/results/itemize/headitem_itemx_in_enumerate.pl
diff -N t/results/itemize/headitem_itemx_in_enumerate.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/itemize/headitem_itemx_in_enumerate.pl 24 Oct 2010 08:45:27
-0000 1.1
@@ -0,0 +1,134 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'headitem_itemx_in_enumerate'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'enumerate',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'before_item'
+ },
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'item enumerate
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'itemx enumerate
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'headitem enumerate
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[3];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[3]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[4]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[5]{'contents'}[0]{'parent'}
=
$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[5];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'contents'}[5]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0];
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[0]{'parent'} =
$result_trees{'headitem_itemx_in_enumerate'};
+$result_trees{'headitem_itemx_in_enumerate'}{'contents'}[1]{'parent'} =
$result_trees{'headitem_itemx_in_enumerate'};
+
+$result_texis{'headitem_itemx_in_enumerate'} = '@enumerate
address@hidden item enumerate
+ itemx enumerate
+ headitem enumerate
address@hidden enumerate
+';
+
+
+$result_texts{'headitem_itemx_in_enumerate'} = 'item enumerate
+itemx enumerate
+headitem enumerate
+';
+
+$result_errors{'headitem_itemx_in_enumerate'} = [
+ {
+ 'error_line' => ':3: @itemx not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => '@itemx not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':4: @headitem not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => '',
+ 'text' => '@headitem not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ }
+];
+
+
Index: t/results/itemize/headitem_itemx_in_itemize.pl
===================================================================
RCS file: t/results/itemize/headitem_itemx_in_itemize.pl
diff -N t/results/itemize/headitem_itemx_in_itemize.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/itemize/headitem_itemx_in_itemize.pl 24 Oct 2010 08:45:27
-0000 1.1
@@ -0,0 +1,134 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'headitem_itemx_in_itemize'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'itemize',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'before_item'
+ },
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'item
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'itemx
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'headitem
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[3];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[3]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[4]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[5]{'contents'}[0]{'parent'}
=
$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[5];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'contents'}[5]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'headitem_itemx_in_itemize'}{'contents'}[0];
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[0]{'parent'} =
$result_trees{'headitem_itemx_in_itemize'};
+$result_trees{'headitem_itemx_in_itemize'}{'contents'}[1]{'parent'} =
$result_trees{'headitem_itemx_in_itemize'};
+
+$result_texis{'headitem_itemx_in_itemize'} = '@itemize
address@hidden item
+ itemx
+ headitem
address@hidden itemize
+';
+
+
+$result_texts{'headitem_itemx_in_itemize'} = 'item
+itemx
+headitem
+';
+
+$result_errors{'headitem_itemx_in_itemize'} = [
+ {
+ 'error_line' => ':3: @itemx not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => '@itemx not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':4: @headitem not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => '',
+ 'text' => '@headitem not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ }
+];
+
+
Index: t/results/raw/raw_not_closed.pl
===================================================================
RCS file: t/results/raw/raw_not_closed.pl
diff -N t/results/raw/raw_not_closed.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/raw/raw_not_closed.pl 24 Oct 2010 08:45:27 -0000 1.1
@@ -0,0 +1,65 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'raw_not_closed'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'html',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'raw'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'This is some html
+',
+ 'type' => 'raw'
+ },
+ {
+ 'parent' => {},
+ 'text' => '<address> my address </address>
+',
+ 'type' => 'raw'
+ }
+ ],
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'raw_not_closed'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'raw_not_closed'}{'contents'}[0];
+$result_trees{'raw_not_closed'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'raw_not_closed'}{'contents'}[0];
+$result_trees{'raw_not_closed'}{'contents'}[0]{'contents'}[2]{'parent'} =
$result_trees{'raw_not_closed'}{'contents'}[0];
+$result_trees{'raw_not_closed'}{'contents'}[0]{'contents'}[3]{'parent'} =
$result_trees{'raw_not_closed'}{'contents'}[0];
+$result_trees{'raw_not_closed'}{'contents'}[0]{'parent'} =
$result_trees{'raw_not_closed'};
+
+$result_texis{'raw_not_closed'} = '@html
+
+This is some html
+<address> my address </address>
address@hidden html';
+
+
+$result_texts{'raw_not_closed'} = '';
+
+$result_errors{'raw_not_closed'} = [
+ {
+ 'error_line' => ':4: No matching address@hidden html\'
+',
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => '',
+ 'text' => 'No matching address@hidden html\'',
+ 'type' => 'error'
+ }
+];
+
+
Index: t/results/xtable/headitem_in_table.pl
===================================================================
RCS file: t/results/xtable/headitem_in_table.pl
diff -N t/results/xtable/headitem_in_table.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/xtable/headitem_in_table.pl 24 Oct 2010 08:45:27 -0000
1.1
@@ -0,0 +1,164 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'headitem_in_table'} = {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'cmdname' => 'strong',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'table',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'headitem in table
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'headitem In table text.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_item'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'item'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'item',
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'headitem_in_table'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'args'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'args'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'args'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'headitem_in_table'}{'contents'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[3];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'headitem_in_table'}{'contents'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'headitem_in_table'}{'contents'}[0];
+$result_trees{'headitem_in_table'}{'contents'}[0]{'parent'} =
$result_trees{'headitem_in_table'};
+$result_trees{'headitem_in_table'}{'contents'}[1]{'parent'} =
$result_trees{'headitem_in_table'};
+
+$result_texis{'headitem_in_table'} = '@table @strong
+ headitem in table
+
+headitem In table text.
+
address@hidden item
address@hidden table
+';
+
+
+$result_texts{'headitem_in_table'} = 'headitem in table
+
+headitem In table text.
+
+item
+';
+
+$result_errors{'headitem_in_table'} = [
+ {
+ 'error_line' => ':2: @headitem not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => '@headitem not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ }
+];
+
+
Index: t/results/xtable/invalid_command_and_brace_in_table.pl
===================================================================
RCS file: t/results/xtable/invalid_command_and_brace_in_table.pl
diff -N t/results/xtable/invalid_command_and_brace_in_table.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/xtable/invalid_command_and_brace_in_table.pl 24 Oct 2010
08:45:27 -0000 1.1
@@ -0,0 +1,110 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'invalid_command_and_brace_in_table'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'table',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' '
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ',, title
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'long title
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Item line
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_item'
+ }
+ ],
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0];
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1];
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'parent'}
=
$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1];
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0];
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[0]{'parent'} =
$result_trees{'invalid_command_and_brace_in_table'};
+$result_trees{'invalid_command_and_brace_in_table'}{'contents'}[1]{'parent'} =
$result_trees{'invalid_command_and_brace_in_table'};
+
+$result_texis{'invalid_command_and_brace_in_table'} = '@table
+ ,, title
+long title
+Item line
address@hidden table
+';
+
+
+$result_texts{'invalid_command_and_brace_in_table'} = ' ,, title
+long title
+Item line
+';
+
+$result_errors{'invalid_command_and_brace_in_table'} = [
+ {
+ 'error_line' => ':2: Misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'Misplaced {',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':2: Unknown command `itemTop\'
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'Unknown command `itemTop\'',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':3: Misplaced }
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => 'Misplaced }',
+ 'type' => 'error'
+ }
+];
+
+
Index: t/results/xtable/lone_end_table.pl
===================================================================
RCS file: t/results/xtable/lone_end_table.pl
diff -N t/results/xtable/lone_end_table.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/xtable/lone_end_table.pl 24 Oct 2010 08:45:27 -0000 1.1
@@ -0,0 +1,49 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors);
+
+$result_trees{'lone_end_table'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Text.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'lone_end_table'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'lone_end_table'}{'contents'}[0];
+$result_trees{'lone_end_table'}{'contents'}[0]{'parent'} =
$result_trees{'lone_end_table'};
+$result_trees{'lone_end_table'}{'contents'}[1]{'parent'} =
$result_trees{'lone_end_table'};
+
+$result_texis{'lone_end_table'} = 'Text.
+
+';
+
+
+$result_texts{'lone_end_table'} = 'Text.
+';
+
+$result_errors{'lone_end_table'} = [
+ {
+ 'error_line' => ':2: Unmatched address@hidden table\'
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'Unmatched address@hidden table\'',
+ 'type' => 'error'
+ }
+];
+
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp TODO t/16raw.t t/18itemize.t t/55con...,
Patrice Dumas <=