Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62462 - trunk/tools/quickbook/test
From: daniel_james_at_[hidden]
Date: 2010-06-06 03:18:57


Author: danieljames
Date: 2010-06-06 03:18:56 EDT (Sun, 06 Jun 2010)
New Revision: 62462
URL: http://svn.boost.org/trac/boost/changeset/62462

Log:
Some of the tests from the spirit2 branch.
Added:
   trunk/tools/quickbook/test/cond_phrase.gold (contents, props changed)
   trunk/tools/quickbook/test/cond_phrase.quickbook (contents, props changed)
   trunk/tools/quickbook/test/doc-info-1.gold (contents, props changed)
   trunk/tools/quickbook/test/doc-info-1.quickbook (contents, props changed)
   trunk/tools/quickbook/test/list_test.gold (contents, props changed)
   trunk/tools/quickbook/test/list_test.quickbook (contents, props changed)
Text files modified:
   trunk/tools/quickbook/test/Jamfile.v2 | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/tools/quickbook/test/Jamfile.v2
==============================================================================
--- trunk/tools/quickbook/test/Jamfile.v2 (original)
+++ trunk/tools/quickbook/test/Jamfile.v2 2010-06-06 03:18:56 EDT (Sun, 06 Jun 2010)
@@ -32,6 +32,9 @@
     [ quickbook-test heading ]
     [ quickbook-test table_1_5 ]
     [ quickbook-test image_1_5 ]
+ [ quickbook-test list_test ]
+ [ quickbook-test cond_phrase ]
+ [ quickbook-test doc-info-1 ]
     [ quickbook-test callouts ]
     [ quickbook-test simple_markup ]
     [ quickbook-fail-test fail-include ]

Added: trunk/tools/quickbook/test/cond_phrase.gold
==============================================================================
--- (empty file)
+++ trunk/tools/quickbook/test/cond_phrase.gold 2010-06-06 03:18:56 EDT (Sun, 06 Jun 2010)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<article id="coniditional_phrase_test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+ <title>Coniditional Phrase Test</title>
+ <articleinfo>
+ </articleinfo>
+ <para>
+ This should show
+ </para>
+</article>

Added: trunk/tools/quickbook/test/cond_phrase.quickbook
==============================================================================
--- (empty file)
+++ trunk/tools/quickbook/test/cond_phrase.quickbook 2010-06-06 03:18:56 EDT (Sun, 06 Jun 2010)
@@ -0,0 +1,8 @@
+[article Coniditional Phrase Test
+ [quickbook 1.5]
+]
+
+[def defined]
+
+[?defined This should show]
+[?undefined This should not show]
\ No newline at end of file

Added: trunk/tools/quickbook/test/doc-info-1.gold
==============================================================================
--- (empty file)
+++ trunk/tools/quickbook/test/doc-info-1.gold 2010-06-06 03:18:56 EDT (Sun, 06 Jun 2010)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<article id="document_information_1" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+ <title>Document Information 1</title>
+ <articleinfo>
+ <articlepurpose>
+ Inline code test: <code>1 + 2</code>
+ </articlepurpose>
+ </articleinfo>
+ <para>
+ The body is largely irrelevant.
+ </para>
+</article>

Added: trunk/tools/quickbook/test/doc-info-1.quickbook
==============================================================================
--- (empty file)
+++ trunk/tools/quickbook/test/doc-info-1.quickbook 2010-06-06 03:18:56 EDT (Sun, 06 Jun 2010)
@@ -0,0 +1,7 @@
+[article Document Information 1
+[quickbook 1.5]
+[source-mode teletype]
+[purpose Inline code test: `1 + 2`]
+]
+
+The body is largely irrelevant.
\ No newline at end of file

Added: trunk/tools/quickbook/test/list_test.gold
==============================================================================
--- (empty file)
+++ trunk/tools/quickbook/test/list_test.gold 2010-06-06 03:18:56 EDT (Sun, 06 Jun 2010)
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<article id="list_test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <title>List Test</title>
+ <articleinfo>
+ </articleinfo>
+ <para>
+ Simple list:
+ </para>
+ <itemizedlist>
+ <listitem>
+ A
+ </listitem>
+ <listitem>
+ B
+ </listitem>
+ </itemizedlist>
+ <para>
+ Simple list:
+ </para>
+ <orderedlist>
+ <listitem>
+ A
+ </listitem>
+ <listitem>
+ B
+ </listitem>
+ </orderedlist>
+ <para>
+ Two level list:
+ </para>
+ <itemizedlist>
+ <listitem>
+ A
+ <itemizedlist>
+ <listitem>
+ A
+ </listitem>
+ <listitem>
+ B
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ B
+ <itemizedlist>
+ <listitem>
+ A
+ </listitem>
+ <listitem>
+ B
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Two level list:
+ </para>
+ <orderedlist>
+ <listitem>
+ A
+ <itemizedlist>
+ <listitem>
+ A
+ </listitem>
+ <listitem>
+ B
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ B
+ <itemizedlist>
+ <listitem>
+ A
+ </listitem>
+ <listitem>
+ B
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </orderedlist>
+ <para>
+ Three level list:
+ </para>
+ <orderedlist>
+ <listitem>
+ A
+ <itemizedlist>
+ <listitem>
+ A
+ </listitem>
+ <listitem>
+ B
+ <itemizedlist>
+ <listitem>
+ C
+ </listitem>
+ <listitem>
+ D
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ E
+ </listitem>
+ <listitem>
+ F
+ <itemizedlist>
+ <listitem>
+ G
+ </listitem>
+ <listitem>
+ H
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </orderedlist>
+ <para>
+ Three level list:
+ </para>
+ <orderedlist>
+ <listitem>
+ A
+ <itemizedlist>
+ <listitem>
+ A
+ </listitem>
+ <listitem>
+ B
+ <orderedlist>
+ <listitem>
+ C
+ </listitem>
+ <listitem>
+ D
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ G
+ </listitem>
+ <listitem>
+ H
+ </listitem>
+ </orderedlist>
+</article>

Added: trunk/tools/quickbook/test/list_test.quickbook
==============================================================================
--- (empty file)
+++ trunk/tools/quickbook/test/list_test.quickbook 2010-06-06 03:18:56 EDT (Sun, 06 Jun 2010)
@@ -0,0 +1,53 @@
+[article List Test
+[quickbook 1.5]
+]
+
+Simple list:
+
+* A
+* B
+
+Simple list:
+
+# A
+# B
+
+Two level list:
+
+* A
+ * A
+ * B
+* B
+ * A
+ * B
+
+Two level list:
+
+# A
+ * A
+ * B
+# B
+ * A
+ * B
+
+Three level list:
+
+# A
+ * A
+ * B
+ * C
+ * D
+ * E
+ * F
+ * G
+ * H
+
+Three level list:
+
+# A
+ * A
+ * B
+ # C
+ # D
+# G
+# H


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk