Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85284 - trunk/tools/quickbook/test
From: dnljms_at_[hidden]
Date: 2013-08-10 15:16:02


Author: danieljames
Date: 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013)
New Revision: 85284
URL: http://svn.boost.org/trac/boost/changeset/85284

Log:
Add tests for escaped template calls.

Text files modified:
   trunk/tools/quickbook/test/templates-1_3.gold | 7 +++++++
   trunk/tools/quickbook/test/templates-1_3.quickbook | 16 ++++++++++++++++
   trunk/tools/quickbook/test/templates-1_4.gold | 7 +++++++
   trunk/tools/quickbook/test/templates-1_4.quickbook | 18 +++++++++++++++++-
   trunk/tools/quickbook/test/templates-1_5.gold | 7 +++++++
   trunk/tools/quickbook/test/templates-1_5.quickbook | 16 ++++++++++++++++
   trunk/tools/quickbook/test/templates-1_6.gold | 7 +++++++
   trunk/tools/quickbook/test/templates-1_6.quickbook | 16 ++++++++++++++++
   trunk/tools/quickbook/test/templates-1_7.gold | 7 +++++++
   trunk/tools/quickbook/test/templates-1_7.quickbook | 16 ++++++++++++++++
   10 files changed, 116 insertions(+), 1 deletions(-)

Modified: trunk/tools/quickbook/test/templates-1_3.gold
==============================================================================
--- trunk/tools/quickbook/test/templates-1_3.gold Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_3.gold 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -180,4 +180,11 @@
       </listitem>
     </itemizedlist>
   </section>
+ <section id="templates.escaped_templates">
+ <title><link linkend="templates.escaped_templates">Escaped templates</link></title>
+ <para>
+ <thingbob>Not real boostbook</thingbob> <thingbob>Also not real boostbook</thingbob>
+ <thingbob>More fake boostbook</thingbob> <thingbob>Final fake boostbook</thingbob>
+ </para>
+ </section>
 </article>

Modified: trunk/tools/quickbook/test/templates-1_3.quickbook
==============================================================================
--- trunk/tools/quickbook/test/templates-1_3.quickbook Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_3.quickbook 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -198,3 +198,19 @@
 * [paragraphs]
 
 [endsect]
+
+[/----------------------------------- Escaped templates ]
+
+[section Escaped templates]
+
+[template raw_markup <thingbob>Not real boostbook</thingbob>]
+[template | <thingbob>Also not real boostbook</thingbob>]
+[template escaped1 [|] [`|]]
+[template escaped2 [x] [`x]]
+
+[`raw_markup]
+[`|]
+[escaped1 <thingbob>More fake boostbook</thingbob>]
+[escaped2 <thingbob>Final fake boostbook</thingbob>]
+
+[endsect]

Modified: trunk/tools/quickbook/test/templates-1_4.gold
==============================================================================
--- trunk/tools/quickbook/test/templates-1_4.gold Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_4.gold 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -18,4 +18,11 @@
   <para>
     {1-2-3} {1-2-3} {1-2-3 4} {1 2-3-4} {[1-2-3}
   </para>
+ <section id="template_1_4.escaped_templates">
+ <title><link linkend="template_1_4.escaped_templates">Escaped templates</link></title>
+ <para>
+ <thingbob>Not real boostbook</thingbob> <thingbob>Also not real boostbook</thingbob>
+ <thingbob>More fake boostbook</thingbob> <thingbob>Final fake boostbook</thingbob>
+ </para>
+ </section>
 </article>

Modified: trunk/tools/quickbook/test/templates-1_4.quickbook
==============================================================================
--- trunk/tools/quickbook/test/templates-1_4.quickbook Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_4.quickbook 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -34,4 +34,20 @@
 [ternary 1 2 3] [/ {1-2-3} ]
 [ternary 1..2 3 4] [/ {1-2-3 4} ]
 [ternary 1 2..3 4] [/ {1 2-3-4} ]
-[ternary [1..2..3] [/ {(1-2-3} (but with a square bracket) ]
\ No newline at end of file
+[ternary [1..2..3] [/ {(1-2-3} (but with a square bracket) ]
+
+[/----------------------------------- Escaped templates ]
+
+[section Escaped templates]
+
+[template raw_markup <thingbob>Not real boostbook</thingbob>]
+[template | <thingbob>Also not real boostbook</thingbob>]
+[template escaped1 [|] [`|]]
+[template escaped2 [x] [`x]]
+
+[`raw_markup]
+[`|]
+[escaped1 <thingbob>More fake boostbook</thingbob>]
+[escaped2 <thingbob>Final fake boostbook</thingbob>]
+
+[endsect]

Modified: trunk/tools/quickbook/test/templates-1_5.gold
==============================================================================
--- trunk/tools/quickbook/test/templates-1_5.gold Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_5.gold 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -227,4 +227,11 @@
       <index type="things"><title>Things</title></index>
     </para>
   </section>
+ <section id="template_1_5.escaped_templates">
+ <title><link linkend="template_1_5.escaped_templates">Escaped templates</link></title>
+ <para>
+ <thingbob>Not real boostbook</thingbob> <thingbob>Also not real boostbook</thingbob>
+ <thingbob>More fake boostbook</thingbob> <thingbob>Final fake boostbook</thingbob>
+ </para>
+ </section>
 </article>

Modified: trunk/tools/quickbook/test/templates-1_5.quickbook
==============================================================================
--- trunk/tools/quickbook/test/templates-1_5.quickbook Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_5.quickbook 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -279,3 +279,19 @@
 [named_index things Things]
 
 [endsect]
+
+[/----------------------------------- Escaped templates ]
+
+[section Escaped templates]
+
+[template raw_markup <thingbob>Not real boostbook</thingbob>]
+[template | <thingbob>Also not real boostbook</thingbob>]
+[template escaped1 [|] [`|]]
+[template escaped2 [x] [`x]]
+
+[`raw_markup]
+[`|]
+[escaped1 <thingbob>More fake boostbook</thingbob>]
+[escaped2 <thingbob>Final fake boostbook</thingbob>]
+
+[endsect]

Modified: trunk/tools/quickbook/test/templates-1_6.gold
==============================================================================
--- trunk/tools/quickbook/test/templates-1_6.gold Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_6.gold 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -234,4 +234,11 @@
       <emphasis>Argument</emphasis>
     </para>
   </section>
+ <section id="template_1_6.escaped_templates">
+ <title><link linkend="template_1_6.escaped_templates">Escaped templates</link></title>
+ <para>
+ <thingbob>Not real boostbook</thingbob> <thingbob>Also not real boostbook</thingbob>
+ <thingbob>More fake boostbook</thingbob> <thingbob>Final fake boostbook</thingbob>
+ </para>
+ </section>
 </article>

Modified: trunk/tools/quickbook/test/templates-1_6.quickbook
==============================================================================
--- trunk/tools/quickbook/test/templates-1_6.quickbook Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_6.quickbook 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -290,3 +290,19 @@
 
 
 [endsect]
+
+[/----------------------------------- Escaped templates ]
+
+[section Escaped templates]
+
+[template raw_markup <thingbob>Not real boostbook</thingbob>]
+[template | <thingbob>Also not real boostbook</thingbob>]
+[template escaped1 [|] [`|]]
+[template escaped2 [x] [`x]]
+
+[`raw_markup]
+[`|]
+[escaped1 <thingbob>More fake boostbook</thingbob>]
+[escaped2 <thingbob>Final fake boostbook</thingbob>]
+
+[endsect]

Modified: trunk/tools/quickbook/test/templates-1_7.gold
==============================================================================
--- trunk/tools/quickbook/test/templates-1_7.gold Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_7.gold 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -272,4 +272,11 @@
       * Not a list.
     </para>
   </section>
+ <section id="template_1_7.escaped_templates">
+ <title><link linkend="template_1_7.escaped_templates">Escaped templates</link></title>
+ <para>
+ <thingbob>Not real boostbook</thingbob> <thingbob>Also not real boostbook</thingbob>
+ <thingbob>More fake boostbook</thingbob> <thingbob>Final fake boostbook</thingbob>
+ </para>
+ </section>
 </article>

Modified: trunk/tools/quickbook/test/templates-1_7.quickbook
==============================================================================
--- trunk/tools/quickbook/test/templates-1_7.quickbook Sat Aug 10 13:11:38 2013 (r85283)
+++ trunk/tools/quickbook/test/templates-1_7.quickbook 2013-08-10 15:16:01 EDT (Sat, 10 Aug 2013) (r85284)
@@ -292,3 +292,19 @@
 [phrase_block5][phrase_block6]
 
 [endsect]
+
+[/----------------------------------- Escaped templates ]
+
+[section Escaped templates]
+
+[template raw_markup <thingbob>Not real boostbook</thingbob>]
+[template ~ <thingbob>Also not real boostbook</thingbob>]
+[template escaped1 [|] [`|]]
+[template escaped2 [x] [`x]]
+
+[`raw_markup]
+[`~]
+[escaped1 <thingbob>More fake boostbook</thingbob>]
+[escaped2 <thingbob>Final fake boostbook</thingbob>]
+
+[endsect]


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