texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp/t 55conditionals.t results/condition...


From: Patrice Dumas
Subject: texinfo/tp/t 55conditionals.t results/condition...
Date: Wed, 16 Mar 2011 08:30:20 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/03/16 08:30:20

Modified files:
        tp/t           : 55conditionals.t 
Added files:
        tp/t/results/conditionals: macro_in_ifset.pl 
                                   macro_in_ifset_set.pl 

Log message:
        More tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/55conditionals.t?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/conditionals/macro_in_ifset.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/conditionals/macro_in_ifset_set.pl?cvsroot=texinfo&rev=1.1

Patches:
Index: 55conditionals.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/55conditionals.t,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- 55conditionals.t    16 Mar 2011 08:23:46 -0000      1.11
+++ 55conditionals.t    16 Mar 2011 08:30:20 -0000      1.12
@@ -224,6 +224,38 @@
 @end html
 @end ifset
 '],
+['macro_in_ifset',
+'
address@hidden truc {}
+truc
address@hidden macro
+
address@hidden a
address@hidden truc
address@hidden truc{}
+in ifset
address@hidden macro
address@hidden ifset
+
address@hidden
+'],
+['macro_in_ifset_set',
+'
address@hidden a
+
address@hidden truc {}
+truc
address@hidden macro
+
address@hidden a
address@hidden truc
address@hidden truc{}
+in ifset
address@hidden macro
address@hidden ifset
+
address@hidden
+'],
 ['empty_ifclear',
 '@ifclear
 

Index: results/conditionals/macro_in_ifset.pl
===================================================================
RCS file: results/conditionals/macro_in_ifset.pl
diff -N results/conditionals/macro_in_ifset.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ results/conditionals/macro_in_ifset.pl      16 Mar 2011 08:30:20 -0000      
1.1
@@ -0,0 +1,106 @@
+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);
+
+use utf8;
+
+$result_trees{'macro_in_ifset'} = {
+  'contents' => [
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'args' => [
+        {
+          'parent' => {},
+          'text' => 'truc',
+          'type' => 'macro_name'
+        }
+      ],
+      'cmdname' => 'macro',
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => 'truc
+',
+          'type' => 'raw'
+        }
+      ],
+      'extra' => {
+        'arg_line' => ' truc {}
+',
+        'macrobody' => 'truc
+'
+      },
+      'line_nr' => {
+        'file_name' => '',
+        'line_nr' => 2,
+        'macro' => ''
+      },
+      'parent' => {}
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line_after_command'
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => 'truc
+'
+        }
+      ],
+      'parent' => {},
+      'type' => 'paragraph'
+    }
+  ],
+  'type' => 'text_root'
+};
+$result_trees{'macro_in_ifset'}{'contents'}[0]{'parent'} = 
$result_trees{'macro_in_ifset'};
+$result_trees{'macro_in_ifset'}{'contents'}[1]{'args'}[0]{'parent'} = 
$result_trees{'macro_in_ifset'}{'contents'}[1];
+$result_trees{'macro_in_ifset'}{'contents'}[1]{'contents'}[0]{'parent'} = 
$result_trees{'macro_in_ifset'}{'contents'}[1];
+$result_trees{'macro_in_ifset'}{'contents'}[1]{'parent'} = 
$result_trees{'macro_in_ifset'};
+$result_trees{'macro_in_ifset'}{'contents'}[2]{'parent'} = 
$result_trees{'macro_in_ifset'};
+$result_trees{'macro_in_ifset'}{'contents'}[3]{'parent'} = 
$result_trees{'macro_in_ifset'};
+$result_trees{'macro_in_ifset'}{'contents'}[4]{'parent'} = 
$result_trees{'macro_in_ifset'};
+$result_trees{'macro_in_ifset'}{'contents'}[5]{'contents'}[0]{'parent'} = 
$result_trees{'macro_in_ifset'}{'contents'}[5];
+$result_trees{'macro_in_ifset'}{'contents'}[5]{'parent'} = 
$result_trees{'macro_in_ifset'};
+
+$result_texis{'macro_in_ifset'} = '
address@hidden truc {}
+truc
address@hidden macro
+
+
+truc
+';
+
+
+$result_texts{'macro_in_ifset'} = '
+
+
+truc
+';
+
+$result_errors{'macro_in_ifset'} = [];
+
+
+1;

Index: results/conditionals/macro_in_ifset_set.pl
===================================================================
RCS file: results/conditionals/macro_in_ifset_set.pl
diff -N results/conditionals/macro_in_ifset_set.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ results/conditionals/macro_in_ifset_set.pl  16 Mar 2011 08:30:20 -0000      
1.1
@@ -0,0 +1,200 @@
+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);
+
+use utf8;
+
+$result_trees{'macro_in_ifset_set'} = {
+  'contents' => [
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'args' => [
+        {
+          'parent' => {},
+          'text' => 'a',
+          'type' => 'misc_arg'
+        },
+        {
+          'parent' => {},
+          'text' => '',
+          'type' => 'misc_arg'
+        }
+      ],
+      'cmdname' => 'set',
+      'extra' => {
+        'arg_line' => ' a
+'
+      },
+      'parent' => {}
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'args' => [
+        {
+          'parent' => {},
+          'text' => 'truc',
+          'type' => 'macro_name'
+        }
+      ],
+      'cmdname' => 'macro',
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => 'truc
+',
+          'type' => 'raw'
+        }
+      ],
+      'extra' => {
+        'arg_line' => ' truc {}
+',
+        'macrobody' => 'truc
+'
+      },
+      'line_nr' => {
+        'file_name' => '',
+        'line_nr' => 4,
+        'macro' => ''
+      },
+      'parent' => {}
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line_after_command'
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'args' => [
+        {
+          'parent' => {},
+          'text' => 'truc',
+          'type' => 'misc_arg'
+        }
+      ],
+      'cmdname' => 'unmacro',
+      'extra' => {
+        'arg_line' => ' truc
+'
+      },
+      'parent' => {}
+    },
+    {
+      'args' => [
+        {
+          'parent' => {},
+          'text' => 'truc',
+          'type' => 'macro_name'
+        }
+      ],
+      'cmdname' => 'macro',
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => 'in ifset
+',
+          'type' => 'raw'
+        }
+      ],
+      'extra' => {
+        'arg_line' => ' truc{}
+',
+        'macrobody' => 'in ifset
+'
+      },
+      'line_nr' => {
+        'file_name' => '',
+        'line_nr' => 10,
+        'macro' => ''
+      },
+      'parent' => {}
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line_after_command'
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => 'in ifset
+'
+        }
+      ],
+      'parent' => {},
+      'type' => 'paragraph'
+    }
+  ],
+  'type' => 'text_root'
+};
+$result_trees{'macro_in_ifset_set'}{'contents'}[0]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[1]{'args'}[0]{'parent'} = 
$result_trees{'macro_in_ifset_set'}{'contents'}[1];
+$result_trees{'macro_in_ifset_set'}{'contents'}[1]{'args'}[1]{'parent'} = 
$result_trees{'macro_in_ifset_set'}{'contents'}[1];
+$result_trees{'macro_in_ifset_set'}{'contents'}[1]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[2]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[3]{'args'}[0]{'parent'} = 
$result_trees{'macro_in_ifset_set'}{'contents'}[3];
+$result_trees{'macro_in_ifset_set'}{'contents'}[3]{'contents'}[0]{'parent'} = 
$result_trees{'macro_in_ifset_set'}{'contents'}[3];
+$result_trees{'macro_in_ifset_set'}{'contents'}[3]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[4]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[5]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[6]{'args'}[0]{'parent'} = 
$result_trees{'macro_in_ifset_set'}{'contents'}[6];
+$result_trees{'macro_in_ifset_set'}{'contents'}[6]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[7]{'args'}[0]{'parent'} = 
$result_trees{'macro_in_ifset_set'}{'contents'}[7];
+$result_trees{'macro_in_ifset_set'}{'contents'}[7]{'contents'}[0]{'parent'} = 
$result_trees{'macro_in_ifset_set'}{'contents'}[7];
+$result_trees{'macro_in_ifset_set'}{'contents'}[7]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[8]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[9]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+$result_trees{'macro_in_ifset_set'}{'contents'}[10]{'contents'}[0]{'parent'} = 
$result_trees{'macro_in_ifset_set'}{'contents'}[10];
+$result_trees{'macro_in_ifset_set'}{'contents'}[10]{'parent'} = 
$result_trees{'macro_in_ifset_set'};
+
+$result_texis{'macro_in_ifset_set'} = '
address@hidden a
+
address@hidden truc {}
+truc
address@hidden macro
+
address@hidden truc
address@hidden truc{}
+in ifset
address@hidden macro
+
+in ifset
+';
+
+
+$result_texts{'macro_in_ifset_set'} = '
+
+
+
+in ifset
+';
+
+$result_errors{'macro_in_ifset_set'} = [];
+
+
+1;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]