texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Check conversion of simple @include use in every


From: Patrice Dumas
Subject: branch master updated: Check conversion of simple @include use in every output format
Date: Sun, 15 Aug 2021 14:23:10 -0400

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 e0ae2d9  Check conversion of simple @include use in every output format
e0ae2d9 is described below

commit e0ae2d92584e73fbf3dbce9e554a95a5d88c1535
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Aug 15 20:22:28 2021 +0200

    Check conversion of simple @include use in every output format
---
 tp/t/80include.t               |  2 +-
 tp/t/results/include/simple.pl | 98 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+), 1 deletion(-)

diff --git a/tp/t/80include.t b/tp/t/80include.t
index ac72942..0539ea4 100644
--- a/tp/t/80include.t
+++ b/tp/t/80include.t
@@ -8,7 +8,7 @@ require 't/test_utils.pl';
 my @test_cases = (
 [ 'simple',
 '@include inc_file.texi
-'],
+',{'test_formats' => ['info', 'plaintext', 'html', 'xml', 'docbook', 
'latex']}],
 ['simple_no_eol',
 '@include inc_file.texi'
 ],
diff --git a/tp/t/results/include/simple.pl b/tp/t/results/include/simple.pl
index 95b0935..8491fb3 100644
--- a/tp/t/results/include/simple.pl
+++ b/tp/t/results/include/simple.pl
@@ -37,4 +37,102 @@ $result_errors{'simple'} = [];
 $result_floats{'simple'} = {};
 
 
+
+$result_converted{'info'}->{'simple'} = 'This is , produced from .
+
+In included file.
+
+
+Tag Table:
+
+End Tag Table
+
+
+Local Variables:
+coding: utf-8
+End:
+';
+
+$result_converted_errors{'info'}->{'simple'} = [
+  {
+    'error_line' => 'warning: document without nodes
+',
+    'text' => 'document without nodes',
+    'type' => 'warning'
+  }
+];
+
+
+
+$result_converted{'plaintext'}->{'simple'} = 'In included file.
+';
+
+
+$result_converted{'html'}->{'simple'} = '<!DOCTYPE html PUBLIC "-//W3C//DTD 
HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<style type="text/css">
+<!--
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
+a.summary-letter {text-decoration: none}
+blockquote.indentedblock {margin-right: 0em}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+kbd {font-style: oblique}
+pre.display {font-family: inherit}
+pre.format {font-family: inherit}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+span.nolinebreak {white-space: nowrap}
+span.roman {font-family: initial; font-weight: normal}
+span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<p>In included file.
+</p>
+
+
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'simple'} = [
+  {
+    'error_line' => 'warning: must specify a title with a title command or @top
+',
+    'text' => 'must specify a title with a title command or @top',
+    'type' => 'warning'
+  }
+];
+
+
+
+$result_converted{'xml'}->{'simple'} = '<para>In included file.
+</para>';
+
+
+$result_converted{'docbook'}->{'simple'} = '<para>In included file.
+</para>';
+
+
+$result_converted{'latex'}->{'simple'} = 'In included file.
+';
+
 1;



reply via email to

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