1 /* 2 * This file contains expectations for tests that we'd like to eventually fix, but aren't urgent. 3 */ 4 [ 5 { 6 description: "javasqlite doesn't honor query timeouts", 7 bug: 5213614, 8 names: [ 9 "libcore.sqlite.QueryTimeoutTest#testExecuteUpdate", 10 "libcore.sqlite.QueryTimeoutTest#testPreparedStatementFetch", 11 "libcore.sqlite.QueryTimeoutTest#testPreparedStatementUpdate", 12 "libcore.sqlite.QueryTimeoutTest#testTimeoutAndStatementReuse" 13 ] 14 }, 15 { 16 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 17 bug: 3268630, 18 name: "libcore.xml.DomTest#testEntityDeclarations", 19 substring: "This implementation does not parse entity declarations" 20 }, 21 { 22 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 23 bug: 3268630, 24 name: "libcore.xml.DomTest#testGetWholeTextWithEntityReference", 25 substring: "This implementation doesn't resolve entity references in getWholeText" 26 }, 27 { 28 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 29 name: "libcore.xml.DomTest#testExpandingEntityReferencesOff", 30 bug: 3268630, 31 substring: "This implementation doesn't include children in entity references" 32 }, 33 { 34 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 35 name: "libcore.xml.DomTest#testExpandingEntityReferencesOn", 36 bug: 3268630, 37 substring: "This implementation doesn't expand entity references" 38 }, 39 { 40 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 41 bug: 3268630, 42 name: "libcore.xml.DomTest#testIsElementContentWhitespaceWithDeclaration", 43 substring: "This implementation does not recognize element content whitespace" 44 }, 45 { 46 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 47 bug: 3268630, 48 name: "libcore.xml.DomTest#testNotations", 49 substring: "This implementation does not parse notations" 50 }, 51 { 52 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 53 bug: 3268630, 54 names: [ 55 "tests.org.w3c.dom.HCNotationsRemoveNamedItemNS#testRemoveNamedItemNS", 56 "tests.org.w3c.dom.HCNotationsSetNamedItemNS#testNotationsSetNamedItemNS" 57 ] 58 }, 59 { 60 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 61 bug: 3268630, 62 name: "libcore.xml.DeclarationTest#testGetXmlEncoding", 63 substring: "This implementation doesn't parse the encoding from the XML declaration" 64 }, 65 { 66 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 67 bug: 3268630, 68 name: "libcore.xml.DeclarationTest#testGetXmlStandalone", 69 substring: "This implementation doesn't parse standalone from the XML declaration" 70 }, 71 { 72 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 73 bug: 3268630, 74 name: "libcore.xml.DeclarationTest#testGetXmlVersion", 75 substring: "This implementation doesn't parse the version from the XML declaration" 76 }, 77 { 78 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 79 bug: 3268630, 80 name: "libcore.xml.NormalizeTest#testSchemaTypeDtd", 81 substring: "This implementation's setParameter() supports an unexpected value: schema-type=http://www.w3.org/TR/REC-xml" 82 }, 83 { 84 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 85 bug: 3268630, 86 name: "tests.api.javax.xml.parsers.DocumentBuilderTest#testSetEntityResolver", 87 substring: "java.lang.ClassCastException: org.apache.harmony.xml.dom.EntityReferenceImpl" 88 }, 89 { 90 description: "Dalvik doesn't support XML Schemas, DTDs or validation", 91 bug: 3268630, 92 name: "libcore.xml.DeclarationTest.testGetXmlVersion", 93 substring: "This implementation doesn't parse the version from the XML declaration" 94 }, 95 { 96 description: "the lack of schema parsing also extends to XML parsing in prefs", 97 result: EXEC_FAILED, 98 name: "org.apache.harmony.prefs.tests.java.util.prefs.PreferencesTest#testImportPreferences", 99 substring: "junit.framework.AssertionFailedError: should throw InvalidPreferencesFormatException" 100 }, 101 { 102 description: "many tests attempt to fork a Java executable, but fork the wrong one", 103 result: "EXEC_FAILED", 104 failure: "should fork a dalvikvm, not a JVM", 105 substring: "/system/bin.*IOException" 106 }, 107 { 108 description: "a low impact bug, we can't produce tiny random, probable prime big integers", 109 result: EXEC_FAILED, 110 name: "tests.api.java.math.BigIntegerTest#test_ConstructorIILjava_util_Random", 111 substring: "junit.framework.AssertionFailedError: Random number one is too big" 112 }, 113 { 114 description: "we don't support CANON_EQ in regex 115 http://code.google.com/p/android/issues/detail?id=8592", 116 result: EXEC_FAILED, 117 names: [ 118 "org.apache.harmony.tests.java.util.regex.PatternTest#testCanonEqFlagWithSupplementaryCharacters", 119 "org.apache.harmony.tests.java.util.regex.PatternTest#testCanonEqFlag", 120 "org.apache.harmony.tests.java.util.regex.PatternErrorTest#testCompileErrors", 121 "org.apache.harmony.tests.java.util.regex.PatternTest#testCompileNonCaptGroup", 122 "org.apache.harmony.tests.java.util.regex.PatternTest#testIndexesCanonicalEq" 123 ], 124 substring: "UnsupportedOperationException: CANON_EQ flag not supported" 125 }, 126 { 127 description: "low-impact XML bugs:", 128 result: EXEC_FAILED, 129 name: "libcore.xml.DomTest#testAttributeNamedIdIsNotAnIdByDefault", 130 substring: "This implementation incorrectly interprets the \"id\" attribute as an identifier by default" 131 }, 132 { 133 description: "low-impact XML bugs:", 134 result: EXEC_FAILED, 135 name: "libcore.xml.DomTest#testDocumentAddChild", 136 substring: "Document nodes shouldn't accept child nodes" 137 }, 138 { 139 description: "low-impact XML bugs:", 140 result: EXEC_FAILED, 141 name: "libcore.xml.DomTest#testElementTraversalFeature", 142 substring: "This implementation is expected to support ElementTraversal v. 1.0 but does not." 143 }, 144 { 145 description: "low-impact XML bugs:", 146 result: EXEC_FAILED, 147 name: "libcore.xml.DomTest#testLoadSaveFeature", 148 substring: "This implementation is expected to support LS v. 3.0 but does not." 149 }, 150 { 151 description: "low-impact XML bugs:", 152 result: EXEC_FAILED, 153 name: "libcore.xml.SaxTest#testYesPrefixesYesNamespaces", 154 substring: "The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enabled." 155 }, 156 { 157 description: "low-impact XML bugs:", 158 result: EXEC_FAILED, 159 name: "tests.api.javax.xml.parsers.SAXParserFactoryTest#test_newInstance", 160 substring: "Expected FactoryConfigurationError was not thrown" 161 }, 162 { 163 description: "low-impact XML bugs:", 164 result: EXEC_FAILED, 165 names: [ 166 "tests.api.javax.xml.parsers.DocumentBuilderFactoryTest#test_isSetXIncludeAware", 167 "tests.api.javax.xml.parsers.DocumentBuilderTest#testIsXIncludeAware", 168 "tests.api.javax.xml.parsers.SAXParserFactoryTest#test_setIsXIncludeAware", 169 "tests.api.javax.xml.parsers.SAXParserTest#testIsXIncludeAware" 170 ], 171 substring: "java.lang.UnsupportedOperationException: This parser does not support specification \"Unknown\" version \"0.0\"" 172 }, 173 { 174 description: "a low-impact bug: \"Shared FileDescriptors get closed too early\" 175 http://code.google.com/p/android/issues/detail?id=5923", 176 result: EXEC_FAILED, 177 name: "java.io.FileDescriptor.Finalize", 178 pattern: ".*java.io.IOException.*openCheck.*" 179 }, 180 { 181 description: "a low-impact bug, also present in Crockford's implementation of org.json", 182 result: EXEC_FAILED, 183 name: "org.json.ParsingTest#test64BitHexValues", 184 substring: "Large hex longs shouldn't be yield ints or strings expected:<-1> but was:<0xFFFFFFFFFFFFFFFF>" 185 }, 186 { 187 description: "this test needs to be fixed. We supply optional qnames, but this test doesn't expect them", 188 result: EXEC_FAILED, 189 name: "tests.api.javax.xml.parsers.SAXParserTest#test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String" 190 }, 191 { 192 description: "these enforce a bug where an exception is incorrectly unthrown, but should maybe be fixed for 193 compatibility.", 194 result: EXEC_FAILED, 195 name: "org.apache.harmony.luni.tests.java.util.TreeMapTest#test_headMapLjava_lang_ObjectZL", 196 substring: "java.lang.IllegalArgumentException: null not in range ...5)" 197 }, 198 { 199 description: "these enforce a bug where an exception is incorrectly unthrown, but should maybe be fixed for 200 compatibility.", 201 result: EXEC_FAILED, 202 names: [ 203 "org.apache.harmony.luni.tests.java.util.TreeMapTest#test_tailMapLjava_lang_ObjectZL", 204 "org.apache.harmony.luni.tests.java.util.TreeMapTest#test_descendingMap_subMap" 205 ], 206 substring: "java.lang.IllegalArgumentException: 5 not in range (5..." 207 }, 208 { 209 description: "BouncyCastle allows unrecognized algorithms, but RI does not, not clear if this is a bug", 210 result: EXEC_FAILED, 211 name: "org.apache.harmony.crypto.tests.javax.crypto.KeyAgreementTest#test_generateSecretLjava_lang_String", 212 substring: "junit.framework.AssertionFailedError: NoSuchAlgorithmException expected" 213 } 214 ]