texinfo-commits
[Top][All Lists]
Advanced

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

[6752] new east_asian_in_w test


From: Gavin D. Smith
Subject: [6752] new east_asian_in_w test
Date: Tue, 03 Nov 2015 16:00:28 +0000

Revision: 6752
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6752
Author:   gavin
Date:     2015-11-03 16:00:27 +0000 (Tue, 03 Nov 2015)
Log Message:
-----------
new east_asian_in_w test

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/t/plaintext_tests.t

Added Paths:
-----------
    trunk/tp/t/input_files/east_asian_in_w.texi
    trunk/tp/t/results/plaintext_tests/east_asian_in_w/
    trunk/tp/t/results/plaintext_tests/east_asian_in_w/res_plaintext/
    
trunk/tp/t/results/plaintext_tests/east_asian_in_w/res_plaintext/east_asian_in_w.txt
    trunk/tp/t/results/plaintext_tests/east_asian_in_w.pl

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-11-03 14:51:32 UTC (rev 6751)
+++ trunk/ChangeLog     2015-11-03 16:00:27 UTC (rev 6752)
@@ -1,5 +1,13 @@
 2015-11-03  Gavin Smith  <address@hidden>
 
+       * tp/t/plaintext.t (east_asian_in_w): New test.
+       * tp/t/input_files/east_asian_in_w.texi: Input file.
+       * t/results/plaintext_tests/
+       east_asian_in_w/res_plaintext/east_asian_in_w.txt: Reference 
+       output file.
+
+2015-11-03  Gavin Smith  <address@hidden>
+
        * tp/Texinfo/Convert/XSParagraph/xspara.c:
        (xspara_add_text) <double-width character>: If protect_spaces is 
        on, accumulate double-width characters instead of sticking them 

Added: trunk/tp/t/input_files/east_asian_in_w.texi
===================================================================
--- trunk/tp/t/input_files/east_asian_in_w.texi                         (rev 0)
+++ trunk/tp/t/input_files/east_asian_in_w.texi 2015-11-03 16:00:27 UTC (rev 
6752)
@@ -0,0 +1,9 @@
address@hidden utf-8
+
+This option overrides an include file name section and aaaaa aaaa
+(@w{包含文字}).
+
address@hidden
+This option overrides an include file name section and aaaaa aaaa
+(包含文字).
+

Modified: trunk/tp/t/plaintext_tests.t
===================================================================
--- trunk/tp/t/plaintext_tests.t        2015-11-03 14:51:32 UTC (rev 6751)
+++ trunk/tp/t/plaintext_tests.t        2015-11-03 16:00:27 UTC (rev 6752)
@@ -977,6 +977,9 @@
         'todo' => {'file_plaintext' => 
                           'NEL handled differently between perl versions'}}
 ],
+['east_asian_in_w',
+undef, {'test_file' => 'east_asian_in_w.texi'}
+],
 );
 
 foreach my $test (@test_cases) {

Added: 
trunk/tp/t/results/plaintext_tests/east_asian_in_w/res_plaintext/east_asian_in_w.txt
===================================================================
--- 
trunk/tp/t/results/plaintext_tests/east_asian_in_w/res_plaintext/east_asian_in_w.txt
                                (rev 0)
+++ 
trunk/tp/t/results/plaintext_tests/east_asian_in_w/res_plaintext/east_asian_in_w.txt
        2015-11-03 16:00:27 UTC (rev 6752)
@@ -0,0 +1,6 @@
+This option overrides an include file name section and aaaaa aaaa
+(包含文字).
+
+This option overrides an include file name section and aaaaa aaaa (包含
+文字).
+

Added: trunk/tp/t/results/plaintext_tests/east_asian_in_w.pl
===================================================================
--- trunk/tp/t/results/plaintext_tests/east_asian_in_w.pl                       
        (rev 0)
+++ trunk/tp/t/results/plaintext_tests/east_asian_in_w.pl       2015-11-03 
16:00:27 UTC (rev 6752)
@@ -0,0 +1,203 @@
+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);
+
+use utf8;
+
+$result_trees{'east_asian_in_w'} = {
+  'contents' => [
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'extra' => {
+                'command' => {}
+              },
+              'parent' => {},
+              'text' => ' ',
+              'type' => 'empty_spaces_after_command'
+            },
+            {
+              'parent' => {},
+              'text' => 'utf-8'
+            },
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'spaces_at_end'
+            }
+          ],
+          'parent' => {},
+          'type' => 'misc_line_arg'
+        }
+      ],
+      'cmdname' => 'documentencoding',
+      'extra' => {
+        'input_encoding_name' => 'utf-8',
+        'input_perl_encoding' => 'utf-8-strict',
+        'spaces_after_command' => {},
+        'text_arg' => 'utf-8'
+      },
+      'line_nr' => {
+        'file_name' => 'east_asian_in_w.texi',
+        'line_nr' => 1,
+        'macro' => ''
+      },
+      'parent' => {}
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => 'This option overrides an include file name section and 
aaaaa aaaa
+'
+        },
+        {
+          'parent' => {},
+          'text' => '('
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => "\x{5305}\x{542b}\x{6587}\x{5b57}"
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'w',
+          'contents' => [],
+          'line_nr' => {
+            'file_name' => 'east_asian_in_w.texi',
+            'line_nr' => 4,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => ').
+'
+        }
+      ],
+      'parent' => {},
+      'type' => 'paragraph'
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'cmdname' => 'noindent',
+      'extra' => {
+        'spaces_after_command' => {
+          'extra' => {
+            'command' => {}
+          },
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line_after_command'
+        }
+      },
+      'line_nr' => {
+        'file_name' => 'east_asian_in_w.texi',
+        'line_nr' => 6,
+        'macro' => ''
+      },
+      'parent' => {}
+    },
+    {},
+    {
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => 'This option overrides an include file name section and 
aaaaa aaaa
+'
+        },
+        {
+          'parent' => {},
+          'text' => "(\x{5305}\x{542b}\x{6587}\x{5b57}).
+"
+        }
+      ],
+      'extra' => {
+        'noindent' => 1
+      },
+      'parent' => {},
+      'type' => 'paragraph'
+    },
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    }
+  ],
+  'type' => 'text_root'
+};
+$result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'east_asian_in_w'}{'contents'}[0];
+$result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0];
+$result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0];
+$result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
 = $result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0];
+$result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0]{'parent'} = 
$result_trees{'east_asian_in_w'}{'contents'}[0];
+$result_trees{'east_asian_in_w'}{'contents'}[0]{'extra'}{'spaces_after_command'}
 = $result_trees{'east_asian_in_w'}{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'east_asian_in_w'}{'contents'}[0]{'parent'} = 
$result_trees{'east_asian_in_w'};
+$result_trees{'east_asian_in_w'}{'contents'}[1]{'parent'} = 
$result_trees{'east_asian_in_w'};
+$result_trees{'east_asian_in_w'}{'contents'}[2]{'contents'}[0]{'parent'} = 
$result_trees{'east_asian_in_w'}{'contents'}[2];
+$result_trees{'east_asian_in_w'}{'contents'}[2]{'contents'}[1]{'parent'} = 
$result_trees{'east_asian_in_w'}{'contents'}[2];
+$result_trees{'east_asian_in_w'}{'contents'}[2]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'east_asian_in_w'}{'contents'}[2]{'contents'}[2]{'args'}[0];
+$result_trees{'east_asian_in_w'}{'contents'}[2]{'contents'}[2]{'args'}[0]{'parent'}
 = $result_trees{'east_asian_in_w'}{'contents'}[2]{'contents'}[2];
+$result_trees{'east_asian_in_w'}{'contents'}[2]{'contents'}[2]{'parent'} = 
$result_trees{'east_asian_in_w'}{'contents'}[2];
+$result_trees{'east_asian_in_w'}{'contents'}[2]{'contents'}[3]{'parent'} = 
$result_trees{'east_asian_in_w'}{'contents'}[2];
+$result_trees{'east_asian_in_w'}{'contents'}[2]{'parent'} = 
$result_trees{'east_asian_in_w'};
+$result_trees{'east_asian_in_w'}{'contents'}[3]{'parent'} = 
$result_trees{'east_asian_in_w'};
+$result_trees{'east_asian_in_w'}{'contents'}[4]{'extra'}{'spaces_after_command'}{'extra'}{'command'}
 = $result_trees{'east_asian_in_w'}{'contents'}[4];
+$result_trees{'east_asian_in_w'}{'contents'}[4]{'extra'}{'spaces_after_command'}{'parent'}
 = $result_trees{'east_asian_in_w'};
+$result_trees{'east_asian_in_w'}{'contents'}[4]{'parent'} = 
$result_trees{'east_asian_in_w'};
+$result_trees{'east_asian_in_w'}{'contents'}[5] = 
$result_trees{'east_asian_in_w'}{'contents'}[4]{'extra'}{'spaces_after_command'};
+$result_trees{'east_asian_in_w'}{'contents'}[6]{'contents'}[0]{'parent'} = 
$result_trees{'east_asian_in_w'}{'contents'}[6];
+$result_trees{'east_asian_in_w'}{'contents'}[6]{'contents'}[1]{'parent'} = 
$result_trees{'east_asian_in_w'}{'contents'}[6];
+$result_trees{'east_asian_in_w'}{'contents'}[6]{'parent'} = 
$result_trees{'east_asian_in_w'};
+$result_trees{'east_asian_in_w'}{'contents'}[7]{'parent'} = 
$result_trees{'east_asian_in_w'};
+
+$result_texis{'east_asian_in_w'} = '@documentencoding utf-8
+
+This option overrides an include file name section and aaaaa aaaa
+(@w{包含文字}).
+
address@hidden
+This option overrides an include file name section and aaaaa aaaa
+(包含文字).
+
+';
+
+
+$result_texts{'east_asian_in_w'} = '
+This option overrides an include file name section and aaaaa aaaa
+(包含文字).
+
+This option overrides an include file name section and aaaaa aaaa
+(包含文字).
+
+';
+
+$result_errors{'east_asian_in_w'} = [];
+
+
+1;




reply via email to

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