Author: dvinnichek
Date: 2010-12-21 04:52:59 -0500 (Tue, 21 Dec 2010)
New Revision: 27629
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/programlisting/programlisting.xml
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/programlisting/programlisting.xml.xml
Log:
fixed testProgramlisting() in DocbookAllTests
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/programlisting/programlisting.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/programlisting/programlisting.xml 2010-12-21
09:30:55 UTC (rev 27628)
+++
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/programlisting/programlisting.xml 2010-12-21
09:52:59 UTC (rev 27629)
@@ -14,7 +14,12 @@
</programlisting>
<programlisting id="programlisting02">
- <![CDATA[
-<emphasis>tags</emphasis> &entities; "]".
- ]]>
+<![CDATA[
+This is a programlisting so white space and line
+breaks are significant. But it is also a CDATA
+section so <emphasis>tags</emphasis> and &entities;
+are not recognized. The only markup that is recognized
+is the end-of-section marker, which is two
+"]"'s in a row followed by a >.
+]]>
</programlisting>
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/programlisting/programlisting.xml.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/programlisting/programlisting.xml.xml 2010-12-21
09:30:55 UTC (rev 27628)
+++
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/programlisting/programlisting.xml.xml 2010-12-21
09:52:59 UTC (rev 27629)
@@ -1,8 +1,8 @@
<tests>
<test id="programlisting01">
<PRE>
+ <SPAN/>
<SPAN>
- <SPAN>
(define (node-list-filter-by-gi nodelist gilist)
;; Returns the node-list that contains every element of the original
;; nodelist whose gi is in gilist
@@ -13,15 +13,20 @@
(loop (node-list result (node-list-first nl))
(node-list-rest nl))
(loop result (node-list-rest nl))))))
- </SPAN>
</SPAN>
</PRE>
</test>
<test id="programlisting02">
<PRE>
<SPAN/>
-<emphasis>tags</emphasis> &entities;
"]".
+This is a programlisting so white space and line
+breaks are significant. But it is also a CDATA
+section so <emphasis>tags</emphasis> and &entities;
+are not recognized. The only markup that is recognized
+is the end-of-section marker, which is two
+"]"'s in a row followed by a >.
<SPAN/>
- </PRE>
+ <BR/>
+ </PRE>
</test>
</tests>
\ No newline at end of file
Show replies by date