Unit Test Results

Designed for use with JUnit and Ant.

Class com.xpn.xwiki.test.UtilTest

NameTestsErrorsFailuresTime(s)
UtilTest81016.297

Tests

NameStatusTypeTime(s)
testTopicInfoSuccess9.074
testgetDocumentFromPathSuccess1.012
testGetMatchesSuccess0.934
testSubstituteSuccess0.841
testServletURLFactorySuccess0.797
testTOCGenerationSuccess0.759
testSecureLaszloCodeErrorError number 21001 in 21: Invalid Laszlo XML Wrapped Exception: Error on line 1 of document : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.

com.xpn.xwiki.XWikiException: Error number 21001 in 21: Invalid Laszlo XML
Wrapped Exception: Error on line 1 of document : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.
at com.xpn.xwiki.util.Util.secureLaszloCode(Util.java:264)
at com.xpn.xwiki.test.UtilTest.testSecureLaszloCode(UtilTest.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Wrapped Exception:

org.dom4j.DocumentException: Error on line 1 of document : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at com.xpn.xwiki.util.Util.secureLaszloCode(Util.java:262)
at com.xpn.xwiki.test.UtilTest.testSecureLaszloCode(UtilTest.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Nested exception:
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at com.xpn.xwiki.util.Util.secureLaszloCode(Util.java:262)
at com.xpn.xwiki.test.UtilTest.testSecureLaszloCode(UtilTest.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
0.728
testDBListDisplayersSuccess1.567
Properties »
System.out »