Update of /var/cvs/tests/util/org/mmbase/util/transformers
In directory james.mmbase.org:/tmp/cvs-serv17841
Modified Files:
XmlFieldTest.java
Log Message:
Added some (failing) test-cases
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.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- XmlFieldTest.java 3 Jun 2008 11:16:27 -0000 1.6
+++ XmlFieldTest.java 4 Jun 2008 13:23:20 -0000 1.7
@@ -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.6 2008/06/03 11:16:27 michiel Exp $
+ * @version $Id: XmlFieldTest.java,v 1.7 2008/06/04 13:23:20 michiel Exp $
*/
public class XmlFieldTest extends TestCase {
@@ -106,7 +106,11 @@
{"$TITEL\n\n$$SUBTITEL\nhallo\n* eending\n* nogeending\n\n\nbla bla",
"<section><h>TITEL</h><section><h>SUBTITEL</h><p>hallo<ol><li>eending</li><li>nogeending</li></ol></p><p>bla
bla</p></section></section>"},
{"$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>"}
+
"<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>"},
+ {"$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>"}
};
public void testRichToXML() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs