-
Notifications
You must be signed in to change notification settings - Fork 118
JDOM2 Android Test Analysis
rolfl edited this page Apr 23, 2012
·
1 revision
The following is a messy breakdown of all the failing tests on Android:
[exec] Error in testXSDDocument:
[exec] java.lang.AssertionError: Could not parse file '/xsdcomplex/input.xml': http://java.sun.com/xml/jaxp/properties/schemaLanguage
[exec] Error in testGetErrorHandler:
[exec] org.jdom2.JDOMException: Unable to create a new XMLReader instance
[exec] Error in testGetIgnoringBoundaryWhitespace:
[exec] org.jdom2.JDOMException: Unable to create a new XMLReader instance
[exec] Error in testGetIgnoringElementContentWhitespace:
[exec] org.jdom2.JDOMException: Unable to create a new XMLReader instance
[exec] Error in testSetJDOMFactory:
[exec] org.jdom2.JDOMException: Unable to create a new XMLReader instance
[exec] Error in testBuildFileNewSAX:
[exec] java.lang.AssertionError: Parsing failed. See stack trace.
[exec] Error in testBuildFileOldWay:
[exec] java.lang.AssertionError: Parsing failed. See stack trace.
[exec] Error in testParseValidateWorks:
[exec] java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
[exec] Error in testSchemaXMLReaderFactory:
[exec] java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
[exec] Error in testDTDValidatingReader:
[exec] org.jdom2.JDOMException: Unable to create a new XMLReader instance
[exec] Error in testXSDValidatingReader:
[exec] java.lang.AssertionError:
[exec] Error in testXSDValidatingReaderFails:
[exec] java.lang.AssertionError:
[exec] Error in testXMLReaderXSDFactoryFileArray:
[exec] java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
[exec] Error in testXMLReaderXSDFactorySourceArray:
[exec] java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
[exec] Error in testXMLReaderXSDFactorySourceNull:
[exec] java.lang.AssertionError: We expected an exception of type java.lang.NullPointerException but got a java.lang.IllegalArgumentException instead with message http://www.w3.org/2001/XMLSchema
[exec] Error in testXMLReaderXSDFactoryStringArray:
[exec] java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
[exec] Error in testXMLReaderXSDFactoryURLArray:
[exec] java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
#Xerces Parser not installed:
[exec] Error in testSAXBuilderString:
[exec] java.lang.AssertionError: Could not create parser: Unable to create SAX2 XMLReader.
[exec] Error in testSAXBuilderStringNew:
[exec] java.lang.AssertionError: Could not create parser: Unable to create SAX2 XMLReader.
[exec] Error in testSetFeature:
[exec] java.lang.AssertionError: Could not create parser: http://javax.xml.XMLConstants/feature/secure-processing feature not recognized for SAX driver org.apache.harmony.xml.ExpatReader
[exec] Error in testParseNonValidateWorks:
[exec] org.jdom2.JDOMException: Unable to create SAX2 XMLReader.
[exec] Error in testParseValidateWorks:
[exec] org.jdom2.JDOMException: Unable to create SAX2 XMLReader.
[exec] Error in testSAX2XMLReaderFactoryBoolean:
[exec] org.jdom2.JDOMException: Unable to create SAX2 XMLReader.
[exec] Error in testSAX2XMLReaderFactoryBooleanString:
[exec] org.jdom2.JDOMException: Unable to create SAX2 XMLReader.
[exec] Error in test_TCM__void_setExpandEntities_boolean:
[exec] java.lang.AssertionError: got entity text
[exec] Error in test_TCU__InternalAndExternalEntities:
[exec] java.lang.AssertionError: didn't get external entity text
[exec] Error in testFalse:
[exec] org.junit.ComparisonFailure: expected:<<doc[>−</doc]>> but was:<<doc[ /]>>
[exec] Error in testFalseUSASCII:
[exec] org.junit.ComparisonFailure: expected:<<doc[>−</doc]>> but was:<<doc[ /]>>
[exec] Error in testFalseUTF8:
[exec] org.junit.ComparisonFailure: expected:<<doc[>−</doc]>> but was:<<doc[ /]>>
[exec] Error in testTrue:
[exec] org.junit.ComparisonFailure: expected:<<doc[>-</doc]>> but was:<<doc[ /]>>
[exec] Error in testTrueUSASCII:
[exec] org.junit.ComparisonFailure: expected:<<doc[>−</doc]>> but was:<<doc[ /]>>
[exec] Error in testTrueUTF8:
[exec] org.junit.ComparisonFailure: expected:<<doc[>-</doc]>> but was:<<doc[ /]>>
[exec] Error in testValidFalse:
[exec] java.lang.AssertionError: Unable to parse document, see output.
[exec] Error in testValidFalseUSASCII:
[exec] java.lang.AssertionError: Unable to parse document, see output.
[exec] Error in testValidFalseUTF8:
[exec] java.lang.AssertionError: Unable to parse document, see output.
[exec] Error in testValidTrue:
[exec] java.lang.AssertionError: Unable to parse document, see output.
[exec] Error in testValidTrueUSASCII:
[exec] java.lang.AssertionError: Unable to parse document, see output.
[exec] Error in testValidTrueUTF8:
[exec] java.lang.AssertionError: Unable to parse document, see output.
[exec] Error in testDocTypeDocument:
[exec] java.lang.AssertionError: Could not parse file '/DOMBuilder/doctype.xml'
[exec] Error in testLocation:
[exec] java.lang.AssertionError: Expected content [DocType: <!DOCTYPE root>] to be on col 16 but its on 15
[exec] Error in testDocTypePublicSystemIDISS:
[exec] org.junit.ComparisonFailure: expected:<...BLIC "pubid" "sysid"[ [
[exec] internal]]>> but was:<...BLIC "pubid" "sysid"[]>>
[exec] Error in testDocTypeSimpleISS:
[exec] org.junit.ComparisonFailure: expected:<<!DOCTYPE root[ [
[exec] <!ENTITY name "value">]]>> but was:<<!DOCTYPE root[]>>
[exec] Error in testDocTypeSystemIDISS:
[exec] org.junit.ComparisonFailure: expected:<... root SYSTEM "sysid"[ [
[exec] internal]]>> but was:<... root SYSTEM "sysid"[]>>
[exec] Error in testOutputDocTypeInternalSubset:
[exec] org.junit.ComparisonFailure: outputString Format Raw expected:<<!DOCTYPE root[ [
[exec] internal]]>> but was:<<!DOCTYPE root[]>>
[exec] Error in testWithDocType:
[exec] org.junit.ComparisonFailure: expected:<...8"?>
[exec] <!DOCTYPE root[ [
[exec] <!ELEMENT root (#PCDATA)>]]><root />
[exec] > but was:<...8"?>
[exec] <!DOCTYPE root[]><root />
[exec] >
[exec] Error in testBuildStringNegativeBadURI:
[exec] java.lang.AssertionError: We expected an exception of type java.net.MalformedURLException but got a java.io.IOException instead with message Couldn't open `!@#$%^&*() is not a valid URI
[exec] Error in testXPathOR:
[exec] java.lang.AssertionError: Failed result at position 0 for xpath '[XPathExpression: 4 namespaces and 0 variables for query /main/node()[1] | /main/@*]'. expected:<[Attribute: atta="vala"]> but was:<[Comment: <!--main comment-->]>
[exec] Error in testConcurrentMod:
[exec] java.lang.AssertionError:
[JDOM Home](http://www.jdom.org)
Stable Release
- [Download](http://www.jdom.org/downloads/index.html)
- [JavaDoc](http://www.jdom.org/docs/apidocs/index.html)
JDOM 2.x
- Overview
- Getting Started
- JDOM on Android
- [JavaDoc](http://hunterhacker.github.com/jdom/jdom2/apidocs/index.html)
- [Coverage](http://hunterhacker.github.com/jdom/jdom2/coverage/index.html)
- [UnitTests](http://hunterhacker.github.com/jdom/jdom2/junit.report/index.html)
- Features
- JDOM 1.x to JDOM 2.x
- Dependencies
Developing JDOM