Update of /var/cvs/tests/util/org/mmbase/util/transformers
In directory james.mmbase.org:/tmp/cvs-serv18301
Modified Files:
XmlFieldTest.java
Log Message:
testcases
See also: http://cvs.mmbase.org/viewcvs/tests/util/org/mmbase/util/transformers
Index: XmlFieldTest.java
===================================================================
RCS file: /var/cvs/tests/util/org/mmbase/util/transformers/XmlFieldTest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- XmlFieldTest.java 4 Jun 2008 13:23:20 -0000 1.7
+++ XmlFieldTest.java 4 Jun 2008 13:44:07 -0000 1.8
@@ -7,7 +7,7 @@
* Currently only tests a small part of the XmlField functionality.
*
* @author Simon Groenewolt ([EMAIL PROTECTED])
- * @version $Id: XmlFieldTest.java,v 1.7 2008/06/04 13:23:20 michiel Exp $
+ * @version $Id: XmlFieldTest.java,v 1.8 2008/06/04 13:44:07 michiel Exp $
*/
public class XmlFieldTest extends TestCase {
@@ -108,9 +108,13 @@
{"$TITEL\n\n$$SUBTITEL\n*hallo* hoe gaat het",
"<section><h>TITEL</h><section><h>SUBTITEL</h><p><strong>hallo</strong> hoe
gaat het</p></section></section>"},
{"$TITEL\n\n$$SUBTITEL\n* a\n* b\n* c",
-
"<section><h>TITEL</h><section><h>SUBTITEL</h><ol><li>a</li><li>b</li><li>c</li></ol></section></section>"},
+
"<section><h>TITEL</h><section><h>SUBTITEL</h><p><ol><li>a</li><li>b</li><li>c</li></ol></p></section></section>"},
{"$TITEL\n\n$$SUBTITEL\n\n* a\n* b\n* c",
-
"<section><h>TITEL</h><section><h>SUBTITEL</h><ol><li>a</li><li>b</li><li>c</li></ol></section></section>"}
+
"<section><h>TITEL</h><section><h>SUBTITEL</h><p><ol><li>a</li><li>b</li><li>c</li></ol></p></section></section>"},
+ {"$TITEL\n\n$$SUBTITEL\n\n* a\n* b\n* c\nbla",
+
"<section><h>TITEL</h><section><h>SUBTITEL</h><p><ol><li>a</li><li>b</li><li>c</li></ol>bla</p></section></section>"},
+ {"$TITEL\n\n$$SUBTITEL\n\n* a\n* b\n* c\n\nbla",
+
"<section><h>TITEL</h><section><h>SUBTITEL</h><p><ol><li>a</li><li>b</li><li>c</li></ol></p><p>bla</p></section></section>"}
};
public void testRichToXML() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs