summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2021-12-25 00:46:42 -0500
committerMatthew Peveler <matt.peveler@gmail.com>2021-12-25 00:46:42 -0500
commit3d41b6419a5e88f1a6733b4bbc48f7641541f566 (patch)
treed894b2197430586ef54cd714ed3a6730c8fcd568
parent831b562a34bc92b17d6fc229a0e470be387bd918 (diff)
downloadasciidoc-git-mpeveler/chore-fixtures.tar.gz
fix failing testsmpeveler/chore-fixtures
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rw-r--r--tests/inputs/article-docinfo.xml87
-rw-r--r--tests/inputs/asciidoc.conf7
-rw-r--r--tests/inputs/customers.csv18
-rw-r--r--tests/testasciidoc.conf2
4 files changed, 113 insertions, 1 deletions
diff --git a/tests/inputs/article-docinfo.xml b/tests/inputs/article-docinfo.xml
new file mode 100644
index 0000000..b4f9d18
--- /dev/null
+++ b/tests/inputs/article-docinfo.xml
@@ -0,0 +1,87 @@
+<!--
+ article-docinfo.xml
+ Example DocBook document information file for article.txt.
+-->
+
+<authorgroup>
+ <author>
+ <honorific>Dr</honorific>
+ <firstname>Lois</firstname>
+ <surname>Common-Denominator</surname>
+ <affiliation>
+ <shortaffil>Director, M. Behn School of Coop. Eng.</shortaffil>
+ <jobtitle>Director of Cooperative Efforts</jobtitle>
+ <orgname>The Marguerite Behn International School of
+ Cooperative Engineering</orgname>
+ </affiliation>
+ </author>
+
+ <author>
+ <honorific>Mr</honorific>
+ <firstname>Steven</firstname>
+ <surname>Norman</surname>
+ <othername role='mi'>T</othername>
+ <affiliation>
+ <shortaffil>ATI</shortaffil>
+ <jobtitle>Senior Application Analyst</jobtitle>
+ <orgname>Foobar, Inc.</orgname>
+ <orgdiv>Application Development</orgdiv>
+ </affiliation>
+ </author>
+
+ <editor>
+ <firstname>Peter</firstname>
+ <surname>Pan</surname>
+ <lineage>Sr.</lineage>
+ <othername>Spiderman</othername>
+ <authorblurb>
+ <para>
+ Peter's a super hero in his spare time.
+ </para>
+ </authorblurb>
+ </editor>
+</authorgroup>
+
+<copyright>
+ <year>2009</year>
+ <holder>Behn International</holder>
+</copyright>
+
+<legalnotice>
+ <simpara>
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ </simpara>
+ <simpara>
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ </simpara>
+ <simpara>
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ </simpara>
+</legalnotice>
+
+<revhistory>
+ <revision>
+ <revnumber>1.1</revnumber>
+ <date>May 2009</date>
+ <authorinitials>PP</authorinitials>
+ <revremark>
+ Updates.
+ </revremark>
+ </revision>
+ <revision>
+ <revnumber>1.0</revnumber>
+ <date>October 2003</date>
+ <authorinitials>PP</authorinitials>
+ <revremark>
+ First release.
+ </revremark>
+ </revision>
+</revhistory>
diff --git a/tests/inputs/asciidoc.conf b/tests/inputs/asciidoc.conf
new file mode 100644
index 0000000..bf8b9ce
--- /dev/null
+++ b/tests/inputs/asciidoc.conf
@@ -0,0 +1,7 @@
+#
+# Customization for AsciiDoc documentation.
+#
+[specialwords]
+ifndef::doctype-manpage[]
+monospacedwords=\\?\basciidoc\(1\) \\?\ba2x\(1\)
+endif::doctype-manpage[]
diff --git a/tests/inputs/customers.csv b/tests/inputs/customers.csv
new file mode 100644
index 0000000..01f862a
--- /dev/null
+++ b/tests/inputs/customers.csv
@@ -0,0 +1,18 @@
+"AROUT","Around the Horn","Thomas Hardy","120 Hanover Sq.
+London","(171) 555-7788"
+"BERGS","Berglunds snabbkop","Christina Berglund","Berguvsvagen 8
+Lulea","0921-12 34 65"
+"BLAUS","Blauer See Delikatessen","Hanna Moos","Forsterstr. 57
+Mannheim","0621-08460"
+"BLONP","Blondel pere et fils","Frederique Citeaux","24, place Kleber
+Strasbourg","88.60.15.31"
+"BOLID","Bolido Comidas preparadas","Martin Sommer","C/ Araquil, 67
+Madrid","(91) 555 22 82"
+"BONAP","Bon app'","Laurence Lebihan","12, rue des Bouchers
+Marseille","91.24.45.40"
+"BOTTM","Bottom-Dollar Markets","Elizabeth Lincoln","23 Tsawassen Blvd.
+Tsawassen","(604) 555-4729"
+"BSBEV","B's Beverages","Victoria Ashworth","Fauntleroy Circus
+London","(171) 555-1212"
+"CACTU","Cactus Comidas para llevar","Patricio Simpson","Cerrito 333
+Buenos Aires","(1) 135-5555"
diff --git a/tests/testasciidoc.conf b/tests/testasciidoc.conf
index 599aa4a..a2635d8 100644
--- a/tests/testasciidoc.conf
+++ b/tests/testasciidoc.conf
@@ -77,7 +77,7 @@ article-data-uri
['--section-numbers']
% attributes
-{'docdate':None, 'data-uri':True, 'icons':True, 'imagesdir': '../'}
+{'docdate':None, 'data-uri':True, 'icons':True, 'imagesdir': '../../'}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Example article with included docinfo file.