blob: daf9af447ec47e932a36f2afd9044e6969f97d69 [file] [log] [blame]
Jesse Wilson220002e2010-09-22 19:16:17 -07001/*
2 * This file contains expectations for tests that we'd like to eventually fix, but aren't urgent.
3 */
4[
5{
Jesse Wilsond42738f2011-08-25 11:22:39 -04006 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 Wilsona8d08322010-12-08 19:25:30 -080016 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
17 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070018 name: "libcore.xml.DomTest#testEntityDeclarations",
Jesse Wilson220002e2010-09-22 19:16:17 -070019 substring: "This implementation does not parse entity declarations"
20},
21{
Jesse Wilsona8d08322010-12-08 19:25:30 -080022 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
23 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070024 name: "libcore.xml.DomTest#testGetWholeTextWithEntityReference",
Jesse Wilson220002e2010-09-22 19:16:17 -070025 substring: "This implementation doesn't resolve entity references in getWholeText"
26},
27{
Jesse Wilsona8d08322010-12-08 19:25:30 -080028 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
Jesse Wilson1c925412011-03-28 09:54:43 -070029 name: "libcore.xml.DomTest#testExpandingEntityReferencesOff",
Jesse Wilson0463b622011-01-11 12:45:18 -080030 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 Wilson1c925412011-03-28 09:54:43 -070035 name: "libcore.xml.DomTest#testExpandingEntityReferencesOn",
Jesse Wilson0463b622011-01-11 12:45:18 -080036 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 Wilsona8d08322010-12-08 19:25:30 -080041 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070042 name: "libcore.xml.DomTest#testIsElementContentWhitespaceWithDeclaration",
Jesse Wilson220002e2010-09-22 19:16:17 -070043 substring: "This implementation does not recognize element content whitespace"
44},
45{
Jesse Wilsona8d08322010-12-08 19:25:30 -080046 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
47 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070048 name: "libcore.xml.DomTest#testNotations",
Jesse Wilson220002e2010-09-22 19:16:17 -070049 substring: "This implementation does not parse notations"
50},
51{
Jesse Wilsona8d08322010-12-08 19:25:30 -080052 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
53 bug: 3268630,
Jesse Wilson9b1c7782011-08-24 14:32:24 -040054 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 Wilson1c925412011-03-28 09:54:43 -070062 name: "libcore.xml.DeclarationTest#testGetXmlEncoding",
Jesse Wilson28b429a2011-05-17 11:21:31 -070063 substring: "This implementation doesn't parse the encoding from the XML declaration"
Jesse Wilson220002e2010-09-22 19:16:17 -070064},
65{
Jesse Wilsona8d08322010-12-08 19:25:30 -080066 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
67 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070068 name: "libcore.xml.DeclarationTest#testGetXmlStandalone",
Jesse Wilson28b429a2011-05-17 11:21:31 -070069 substring: "This implementation doesn't parse standalone from the XML declaration"
Jesse Wilson220002e2010-09-22 19:16:17 -070070},
71{
Jesse Wilsona8d08322010-12-08 19:25:30 -080072 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
73 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070074 name: "libcore.xml.DeclarationTest#testGetXmlVersion",
Jesse Wilson5b59f8d2010-12-16 16:36:00 -080075 substring: "This implementation doesn't parse the version from the XML declaration"
Jesse Wilson220002e2010-09-22 19:16:17 -070076},
77{
Jesse Wilsona8d08322010-12-08 19:25:30 -080078 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
79 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070080 name: "libcore.xml.NormalizeTest#testSchemaTypeDtd",
Jesse Wilson220002e2010-09-22 19:16:17 -070081 substring: "This implementation's setParameter() supports an unexpected value: schema-type=http://www.w3.org/TR/REC-xml"
82},
83{
Jesse Wilsona8d08322010-12-08 19:25:30 -080084 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
85 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070086 name: "tests.api.javax.xml.parsers.DocumentBuilderTest#testSetEntityResolver",
87 substring: "java.lang.ClassCastException: org.apache.harmony.xml.dom.EntityReferenceImpl"
88},
89{
Jesse Wilsona8d08322010-12-08 19:25:30 -080090 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
91 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070092 name: "libcore.xml.DeclarationTest.testGetXmlVersion",
Jesse Wilsona8d08322010-12-08 19:25:30 -080093 substring: "This implementation doesn't parse the version from the XML declaration"
94},
95{
Jesse Wilson220002e2010-09-22 19:16:17 -070096 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 Kamathab762bb2013-11-15 18:40:14 +0000110 name: "org.apache.harmony.tests.java.math.BigIntegerTest#test_ConstructorIILjava_util_Random",
Jesse Wilson220002e2010-09-22 19:16:17 -0700111 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 Wilson1c925412011-03-28 09:54:43 -0700129 name: "libcore.xml.DomTest#testAttributeNamedIdIsNotAnIdByDefault",
Jesse Wilson220002e2010-09-22 19:16:17 -0700130 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 Wilson1c925412011-03-28 09:54:43 -0700135 name: "libcore.xml.DomTest#testDocumentAddChild",
Jesse Wilson220002e2010-09-22 19:16:17 -0700136 substring: "Document nodes shouldn't accept child nodes"
137},
138{
139 description: "low-impact XML bugs:",
140 result: EXEC_FAILED,
Jesse Wilson1c925412011-03-28 09:54:43 -0700141 name: "libcore.xml.DomTest#testElementTraversalFeature",
Jesse Wilson220002e2010-09-22 19:16:17 -0700142 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 Wilson1c925412011-03-28 09:54:43 -0700147 name: "libcore.xml.DomTest#testLoadSaveFeature",
Jesse Wilson220002e2010-09-22 19:16:17 -0700148 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 Wilson1c925412011-03-28 09:54:43 -0700153 name: "libcore.xml.SaxTest#testYesPrefixesYesNamespaces",
Jesse Wilson220002e2010-09-22 19:16:17 -0700154 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]