directory for all sorts of testdata

This commit is contained in:
Martin A. Brown 2016-02-13 10:39:43 -08:00
parent d9c7ac1944
commit 0ee20461f3
7 changed files with 79 additions and 0 deletions

27
tests/testdata/docbook4xml-simple.xml vendored Normal file
View File

@ -0,0 +1,27 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<article>
<articleinfo>
<title>T</title>
<author><firstname>A</firstname><surname>B</surname></author>
<authorinitials>AB</authorinitials>
<revhistory> <revision>
<revnumber>v0.0</revnumber>
<date>2016-02-11</date>
<authorinitials>AB</authorinitials>
<revremark> Initial release. </revremark>
</revision> </revhistory>
<abstract> <para> abstract </para> </abstract>
</articleinfo>
<sect1 id="intro">
<title>Intro</title>
<para>Text</para>
<sect2>
<title>Intro</title>
<para>Text</para>
</sect2>
</sect1>
</article>

5
tests/testdata/docbook5xml-simple.xml vendored Normal file
View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<article xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
<title>Simple article</title>
<para>This is a ridiculously terse article.</para>
</article>

30
tests/testdata/docbooksgml-simple.sgml vendored Normal file
View File

@ -0,0 +1,30 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<article>
<articleinfo>
<title>T</title>
<author>
<firstname>A</firstname> <surname>B</surname>
<affiliation>
<address><email>devnull@example.org</email></address>
</affiliation>
</author>
<pubdate>2016-02-11</pubdate>
<abstract><para>abstract</para> </abstract>
<revhistory>
<revision>
<revnumber>1.0</revnumber>
<date>2016-02-11</date>
<authorinitials>AB</authorinitials>
<revremark>Initial release.</revremark>
</revision>
</revhistory>
</articleinfo>
<sect1 id="intro"><title>Introduction</title>
<para>Text</para>
<sect2 id="copyright"><title>More stuff</title>
<para>Text</para>
</sect2>
</sect1>
</article>

14
tests/testdata/linuxdoc-simple.sgml vendored Normal file
View File

@ -0,0 +1,14 @@
<!doctype linuxdoc system>
<article>
<title>B
<author>A
<date>2016-02-11
<abstract> abstract </abstract>
<toc>
<sect>Introduction
<p>
<sect>Stuff.
<p>
<sect>More-stuff.
<p>
</article>

1
tests/testdata/markdown-simple.md vendored Normal file
View File

@ -0,0 +1 @@
No content.

View File

@ -0,0 +1 @@
No content.

1
tests/testdata/text-simple.txt vendored Normal file
View File

@ -0,0 +1 @@
No content.