[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp/t 18itemize.t plaintext_tests.t resu...
From: |
Patrice Dumas |
Subject: |
texinfo/tp/t 18itemize.t plaintext_tests.t resu... |
Date: |
Fri, 18 Feb 2011 00:34:44 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/02/18 00:34:44
Modified files:
tp/t : 18itemize.t plaintext_tests.t
Added files:
tp/t/results/itemize: asis_as_itemize_argument.pl
tp/t/results/plaintext_tests: html_expanded.pl
Log message:
More tests.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/18itemize.t?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/plaintext_tests.t?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/itemize/asis_as_itemize_argument.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/html_expanded.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: 18itemize.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/18itemize.t,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- 18itemize.t 14 Feb 2011 23:50:10 -0000 1.10
+++ 18itemize.t 18 Feb 2011 00:34:43 -0000 1.11
@@ -394,6 +394,11 @@
@item aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa fffffffff ggggggggg
vvvvvvvvv ggggggggg h
@end enumerate
'],
+['asis_as_itemize_argument',
+'@itemize @asis
address@hidden as is
address@hidden itemize
+'],
);
my @test_invalid = (
Index: plaintext_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/plaintext_tests.t,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- plaintext_tests.t 17 Feb 2011 22:20:34 -0000 1.3
+++ plaintext_tests.t 18 Feb 2011 00:34:43 -0000 1.4
@@ -42,6 +42,14 @@
@exdent before samp. @samp{a}. after samp, w @w{in w. after dot} afterw
@end quotation
'],
+['html_expanded',
+'Before
address@hidden
+html
address@hidden html
+after.
+',{'expanded_formats' => ['html']}
+],
['space_at_menu_end',
'@node Top
Index: results/itemize/asis_as_itemize_argument.pl
===================================================================
RCS file: results/itemize/asis_as_itemize_argument.pl
diff -N results/itemize/asis_as_itemize_argument.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ results/itemize/asis_as_itemize_argument.pl 18 Feb 2011 00:34:43 -0000
1.1
@@ -0,0 +1,113 @@
+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_trees{'asis_as_itemize_argument'} = {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'cmdname' => 'asis',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'space_at_end_block_command'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'itemize',
+ 'contents' => [
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'as is
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {
+ 'item_number' => 1
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'block_command_line_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'command_as_argument' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'asis_as_itemize_argument'}{'contents'}[0];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'contents'}[0];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'contents'}[0];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'asis_as_itemize_argument'}{'contents'}[0];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'extra'}{'block_command_line_contents'}[0][0]
=
$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'extra'}{'command_as_argument'}
=
$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'asis_as_itemize_argument'}{'contents'}[0]{'parent'} =
$result_trees{'asis_as_itemize_argument'};
+$result_trees{'asis_as_itemize_argument'}{'contents'}[1]{'parent'} =
$result_trees{'asis_as_itemize_argument'};
+
+$result_texis{'asis_as_itemize_argument'} = '@itemize @asis
address@hidden as is
address@hidden itemize
+';
+
+
+$result_texts{'asis_as_itemize_argument'} = 'as is
+';
+
+$result_errors{'asis_as_itemize_argument'} = [];
+
+
+
+$result_converted{'plaintext'}->{'asis_as_itemize_argument'} = ' as is
+';
+
+1;
Index: results/plaintext_tests/html_expanded.pl
===================================================================
RCS file: results/plaintext_tests/html_expanded.pl
diff -N results/plaintext_tests/html_expanded.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ results/plaintext_tests/html_expanded.pl 18 Feb 2011 00:34:44 -0000
1.1
@@ -0,0 +1,82 @@
+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_trees{'html_expanded'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Before
+'
+ },
+ {
+ 'cmdname' => 'html',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'html
+',
+ 'type' => 'raw'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'after.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'html_expanded'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'html_expanded'}{'contents'}[0];
+$result_trees{'html_expanded'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'html_expanded'}{'contents'}[0]{'contents'}[1];
+$result_trees{'html_expanded'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'html_expanded'}{'contents'}[0]{'contents'}[1];
+$result_trees{'html_expanded'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'html_expanded'}{'contents'}[0];
+$result_trees{'html_expanded'}{'contents'}[0]{'contents'}[2]{'parent'} =
$result_trees{'html_expanded'}{'contents'}[0];
+$result_trees{'html_expanded'}{'contents'}[0]{'contents'}[3]{'parent'} =
$result_trees{'html_expanded'}{'contents'}[0];
+$result_trees{'html_expanded'}{'contents'}[0]{'parent'} =
$result_trees{'html_expanded'};
+
+$result_texis{'html_expanded'} = 'Before
address@hidden
+html
address@hidden html
+after.
+';
+
+
+$result_texts{'html_expanded'} = 'Before
+after.
+';
+
+$result_errors{'html_expanded'} = [];
+
+
+
+$result_converted{'plaintext'}->{'html_expanded'} = 'Before html after.
+';
+
+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp/t 18itemize.t plaintext_tests.t resu...,
Patrice Dumas <=