Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file contains expectations for tests that we'd like to eventually fix, but aren't urgent. |
| 3 | */ |
| 4 | [ |
| 5 | { |
Jesse Wilson | d42738f | 2011-08-25 11:22:39 -0400 | [diff] [blame] | 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 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 16 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 17 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 18 | name: "libcore.xml.DomTest#testEntityDeclarations", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 19 | substring: "This implementation does not parse entity declarations" |
| 20 | }, |
| 21 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 22 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 23 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 24 | name: "libcore.xml.DomTest#testGetWholeTextWithEntityReference", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 25 | substring: "This implementation doesn't resolve entity references in getWholeText" |
| 26 | }, |
| 27 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 28 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 29 | name: "libcore.xml.DomTest#testExpandingEntityReferencesOff", |
Jesse Wilson | 0463b62 | 2011-01-11 12:45:18 -0800 | [diff] [blame] | 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", |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 35 | name: "libcore.xml.DomTest#testExpandingEntityReferencesOn", |
Jesse Wilson | 0463b62 | 2011-01-11 12:45:18 -0800 | [diff] [blame] | 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", |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 41 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 42 | name: "libcore.xml.DomTest#testIsElementContentWhitespaceWithDeclaration", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 43 | substring: "This implementation does not recognize element content whitespace" |
| 44 | }, |
| 45 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 46 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 47 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 48 | name: "libcore.xml.DomTest#testNotations", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 49 | substring: "This implementation does not parse notations" |
| 50 | }, |
| 51 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 52 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 53 | bug: 3268630, |
Jesse Wilson | 9b1c778 | 2011-08-24 14:32:24 -0400 | [diff] [blame] | 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, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 62 | name: "libcore.xml.DeclarationTest#testGetXmlEncoding", |
Jesse Wilson | 28b429a | 2011-05-17 11:21:31 -0700 | [diff] [blame] | 63 | substring: "This implementation doesn't parse the encoding from the XML declaration" |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 64 | }, |
| 65 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 66 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 67 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 68 | name: "libcore.xml.DeclarationTest#testGetXmlStandalone", |
Jesse Wilson | 28b429a | 2011-05-17 11:21:31 -0700 | [diff] [blame] | 69 | substring: "This implementation doesn't parse standalone from the XML declaration" |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 70 | }, |
| 71 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 72 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 73 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 74 | name: "libcore.xml.DeclarationTest#testGetXmlVersion", |
Jesse Wilson | 5b59f8d | 2010-12-16 16:36:00 -0800 | [diff] [blame] | 75 | substring: "This implementation doesn't parse the version from the XML declaration" |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 76 | }, |
| 77 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 78 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 79 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 80 | name: "libcore.xml.NormalizeTest#testSchemaTypeDtd", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 81 | substring: "This implementation's setParameter() supports an unexpected value: schema-type=http://www.w3.org/TR/REC-xml" |
| 82 | }, |
| 83 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 84 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 85 | bug: 3268630, |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 86 | name: "tests.api.javax.xml.parsers.DocumentBuilderTest#testSetEntityResolver", |
| 87 | substring: "java.lang.ClassCastException: org.apache.harmony.xml.dom.EntityReferenceImpl" |
| 88 | }, |
| 89 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 90 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 91 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 92 | name: "libcore.xml.DeclarationTest.testGetXmlVersion", |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 93 | substring: "This implementation doesn't parse the version from the XML declaration" |
| 94 | }, |
| 95 | { |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 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, |
Narayan Kamath | ab762bb | 2013-11-15 18:40:14 +0000 | [diff] [blame^] | 110 | name: "org.apache.harmony.tests.java.math.BigIntegerTest#test_ConstructorIILjava_util_Random", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 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, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 129 | name: "libcore.xml.DomTest#testAttributeNamedIdIsNotAnIdByDefault", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 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, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 135 | name: "libcore.xml.DomTest#testDocumentAddChild", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 136 | substring: "Document nodes shouldn't accept child nodes" |
| 137 | }, |
| 138 | { |
| 139 | description: "low-impact XML bugs:", |
| 140 | result: EXEC_FAILED, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 141 | name: "libcore.xml.DomTest#testElementTraversalFeature", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 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, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 147 | name: "libcore.xml.DomTest#testLoadSaveFeature", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 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, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 153 | name: "libcore.xml.SaxTest#testYesPrefixesYesNamespaces", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 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 | ] |