1/* 2 * This file contains expectations for tests that we'd like to eventually fix, but aren't urgent. 3 */ 4[ 5{ 6 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 7 bug: 3268630, 8 name: "libcore.xml.DomTest#testEntityDeclarations", 9 substring: "This implementation does not parse entity declarations" 10}, 11{ 12 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 13 bug: 3268630, 14 name: "libcore.xml.DomTest#testGetWholeTextWithEntityReference", 15 substring: "This implementation doesn't resolve entity references in getWholeText" 16}, 17{ 18 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 19 name: "libcore.xml.DomTest#testExpandingEntityReferencesOff", 20 bug: 3268630, 21 substring: "This implementation doesn't include children in entity references" 22}, 23{ 24 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 25 name: "libcore.xml.DomTest#testExpandingEntityReferencesOn", 26 bug: 3268630, 27 substring: "This implementation doesn't expand entity references" 28}, 29{ 30 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 31 bug: 3268630, 32 name: "libcore.xml.DomTest#testIsElementContentWhitespaceWithDeclaration", 33 substring: "This implementation does not recognize element content whitespace" 34}, 35{ 36 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 37 bug: 3268630, 38 name: "libcore.xml.DomTest#testNotations", 39 substring: "This implementation does not parse notations" 40}, 41{ 42 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 43 bug: 3268630, 44 names: [ 45 "tests.org.w3c.dom.HCNotationsRemoveNamedItemNS#testRemoveNamedItemNS", 46 "tests.org.w3c.dom.HCNotationsSetNamedItemNS#testNotationsSetNamedItemNS" 47 ] 48}, 49{ 50 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 51 bug: 3268630, 52 name: "libcore.xml.DeclarationTest#testGetXmlEncoding", 53 substring: "This implementation doesn't parse the encoding from the XML declaration" 54}, 55{ 56 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 57 bug: 3268630, 58 name: "libcore.xml.DeclarationTest#testGetXmlStandalone", 59 substring: "This implementation doesn't parse standalone from the XML declaration" 60}, 61{ 62 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 63 bug: 3268630, 64 name: "libcore.xml.DeclarationTest#testGetXmlVersion", 65 substring: "This implementation doesn't parse the version from the XML declaration" 66}, 67{ 68 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 69 bug: 3268630, 70 name: "libcore.xml.NormalizeTest#testSchemaTypeDtd", 71 substring: "This implementation's setParameter() supports an unexpected value: schema-type=http://www.w3.org/TR/REC-xml" 72}, 73{ 74 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 75 bug: 3268630, 76 name: "tests.api.javax.xml.parsers.DocumentBuilderTest#testSetEntityResolver", 77 substring: "java.lang.ClassCastException: org.apache.harmony.xml.dom.EntityReferenceImpl" 78}, 79{ 80 description: "many tests attempt to fork a Java executable, but fork the wrong one", 81 result: "EXEC_FAILED", 82 failure: "should fork a dalvikvm, not a JVM", 83 substring: "/system/bin.*IOException" 84}, 85{ 86 description: "low-impact XML bugs:", 87 result: EXEC_FAILED, 88 name: "libcore.xml.DomTest#testAttributeNamedIdIsNotAnIdByDefault", 89 substring: "This implementation incorrectly interprets the \"id\" attribute as an identifier by default" 90}, 91{ 92 description: "low-impact XML bugs:", 93 result: EXEC_FAILED, 94 name: "libcore.xml.DomTest#testDocumentAddChild", 95 substring: "Document nodes shouldn't accept child nodes" 96}, 97{ 98 description: "low-impact XML bugs:", 99 result: EXEC_FAILED, 100 name: "libcore.xml.DomTest#testElementTraversalFeature", 101 substring: "This implementation is expected to support ElementTraversal v. 1.0 but does not." 102}, 103{ 104 description: "low-impact XML bugs:", 105 result: EXEC_FAILED, 106 name: "libcore.xml.DomTest#testLoadSaveFeature", 107 substring: "This implementation is expected to support LS v. 3.0 but does not." 108}, 109{ 110 description: "low-impact XML bugs:", 111 result: EXEC_FAILED, 112 name: "libcore.xml.SaxTest#testYesPrefixesYesNamespaces", 113 substring: "The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enabled." 114}, 115{ 116 description: "low-impact XML bugs:", 117 result: EXEC_FAILED, 118 name: "tests.api.javax.xml.parsers.SAXParserFactoryTest#test_newInstance", 119 substring: "Expected FactoryConfigurationError was not thrown" 120}, 121{ 122 description: "low-impact XML bugs:", 123 result: EXEC_FAILED, 124 names: [ 125 "tests.api.javax.xml.parsers.DocumentBuilderFactoryTest#test_isSetXIncludeAware", 126 "tests.api.javax.xml.parsers.DocumentBuilderTest#testIsXIncludeAware", 127 "tests.api.javax.xml.parsers.SAXParserFactoryTest#test_setIsXIncludeAware", 128 "tests.api.javax.xml.parsers.SAXParserTest#testIsXIncludeAware" 129 ], 130 substring: "java.lang.UnsupportedOperationException: This parser does not support specification \"Unknown\" version \"0.0\"" 131}, 132{ 133 description: "a low-impact bug, also present in Crockford's implementation of org.json", 134 result: EXEC_FAILED, 135 name: "org.json.ParsingTest#test64BitHexValues", 136 substring: "Large hex longs shouldn't be yield ints or strings expected:<-1> but was:<0xFFFFFFFFFFFFFFFF>" 137}, 138{ 139 description: "this test needs to be fixed. We supply optional qnames, but this test doesn't expect them", 140 result: EXEC_FAILED, 141 name: "tests.api.javax.xml.parsers.SAXParserTest#test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String" 142}, 143{ 144 description: "BouncyCastle allows unrecognized algorithms, but RI does not, not clear if this is a bug", 145 result: EXEC_FAILED, 146 name: "org.apache.harmony.crypto.tests.javax.crypto.KeyAgreementTest#test_generateSecretLjava_lang_String", 147 substring: "junit.framework.AssertionFailedError: NoSuchAlgorithmException expected" 148} 149] 150