blob: 461972548804a9377a416b513a7b0fb8647a8746 [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 Wilsona8d08322010-12-08 19:25:30 -08006 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
7 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -07008 name: "tests.xml.DomTest#testEntityDeclarations",
9 substring: "This implementation does not parse entity declarations"
10},
11{
Jesse Wilsona8d08322010-12-08 19:25:30 -080012 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
13 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070014 name: "tests.xml.DomTest#testGetWholeTextWithEntityReference",
15 substring: "This implementation doesn't resolve entity references in getWholeText"
16},
17{
Jesse Wilsona8d08322010-12-08 19:25:30 -080018 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
Jesse Wilson0463b622011-01-11 12:45:18 -080019 name: "tests.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: "tests.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",
Jesse Wilsona8d08322010-12-08 19:25:30 -080031 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070032 name: "tests.xml.DomTest#testIsElementContentWhitespaceWithDeclaration",
33 substring: "This implementation does not recognize element content whitespace"
34},
35{
Jesse Wilsona8d08322010-12-08 19:25:30 -080036 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
37 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070038 name: "tests.xml.DomTest#testNotations",
39 substring: "This implementation does not parse notations"
40},
41{
Jesse Wilsona8d08322010-12-08 19:25:30 -080042 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
43 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070044 name: "tests.xml.DeclarationTest#testGetXmlEncoding",
45 substring: "This implementation doesn't parse the encoding from the XML declaration expected:<ISO-8859-1> but was:<null>"
46},
47{
Jesse Wilsona8d08322010-12-08 19:25:30 -080048 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
49 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070050 name: "tests.xml.DeclarationTest#testGetXmlStandalone",
51 substring: "This implementation doesn't parse standalone from the XML declaration expected:<true> but was:<false>"
52},
53{
Jesse Wilsona8d08322010-12-08 19:25:30 -080054 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
55 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070056 name: "tests.xml.DeclarationTest#testGetXmlVersion",
Jesse Wilson5b59f8d2010-12-16 16:36:00 -080057 substring: "This implementation doesn't parse the version from the XML declaration"
Jesse Wilson220002e2010-09-22 19:16:17 -070058},
59{
Jesse Wilsona8d08322010-12-08 19:25:30 -080060 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
61 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070062 name: "tests.xml.NormalizeTest#testSchemaTypeDtd",
63 substring: "This implementation's setParameter() supports an unexpected value: schema-type=http://www.w3.org/TR/REC-xml"
64},
65{
Jesse Wilsona8d08322010-12-08 19:25:30 -080066 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
67 bug: 3268630,
Jesse Wilson220002e2010-09-22 19:16:17 -070068 name: "tests.api.javax.xml.parsers.DocumentBuilderTest#testSetEntityResolver",
69 substring: "java.lang.ClassCastException: org.apache.harmony.xml.dom.EntityReferenceImpl"
70},
71{
Jesse Wilsona8d08322010-12-08 19:25:30 -080072 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
73 bug: 3268630,
74 name: "tests.xml.DeclarationTest.testGetXmlVersion",
75 substring: "This implementation doesn't parse the version from the XML declaration"
76},
77{
Jesse Wilson220002e2010-09-22 19:16:17 -070078 description: "the lack of schema parsing also extends to XML parsing in prefs",
79 result: EXEC_FAILED,
80 name: "org.apache.harmony.prefs.tests.java.util.prefs.PreferencesTest#testImportPreferences",
81 substring: "junit.framework.AssertionFailedError: should throw InvalidPreferencesFormatException"
82},
83{
84 description: "many tests attempt to fork a Java executable, but fork the wrong one",
85 result: "EXEC_FAILED",
86 failure: "should fork a dalvikvm, not a JVM",
87 substring: "/system/bin.*IOException"
88},
89{
90 description: "a low impact bug, we can't produce tiny random, probable prime big integers",
91 result: EXEC_FAILED,
92 name: "tests.api.java.math.BigIntegerTest#test_ConstructorIILjava_util_Random",
93 substring: "junit.framework.AssertionFailedError: Random number one is too big"
94},
95{
96 description: "we don't support CANON_EQ in regex
97 http://code.google.com/p/android/issues/detail?id=8592",
98 result: EXEC_FAILED,
99 names: [
100 "org.apache.harmony.tests.java.util.regex.PatternTest#testCanonEqFlagWithSupplementaryCharacters",
101 "org.apache.harmony.tests.java.util.regex.PatternTest#testCanonEqFlag",
102 "org.apache.harmony.tests.java.util.regex.PatternErrorTest#testCompileErrors",
103 "org.apache.harmony.tests.java.util.regex.PatternTest#testCompileNonCaptGroup",
104 "org.apache.harmony.tests.java.util.regex.PatternTest#testIndexesCanonicalEq"
105 ],
106 substring: "UnsupportedOperationException: CANON_EQ flag not supported"
107},
108{
109 description: "low-impact XML bugs:",
110 result: EXEC_FAILED,
111 name: "tests.xml.DomTest#testAttributeNamedIdIsNotAnIdByDefault",
112 substring: "This implementation incorrectly interprets the \"id\" attribute as an identifier by default"
113},
114{
115 description: "low-impact XML bugs:",
116 result: EXEC_FAILED,
117 name: "tests.xml.DomTest#testDocumentAddChild",
118 substring: "Document nodes shouldn't accept child nodes"
119},
120{
121 description: "low-impact XML bugs:",
122 result: EXEC_FAILED,
123 name: "tests.xml.DomTest#testElementTraversalFeature",
124 substring: "This implementation is expected to support ElementTraversal v. 1.0 but does not."
125},
126{
127 description: "low-impact XML bugs:",
128 result: EXEC_FAILED,
129 name: "tests.xml.DomTest#testLoadSaveFeature",
130 substring: "This implementation is expected to support LS v. 3.0 but does not."
131},
132{
133 description: "low-impact XML bugs:",
134 result: EXEC_FAILED,
135 name: "tests.xml.SaxTest#testYesPrefixesYesNamespaces",
136 substring: "The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enabled."
137},
138{
139 description: "low-impact XML bugs:",
140 result: EXEC_FAILED,
141 name: "tests.api.javax.xml.parsers.SAXParserFactoryTest#test_newInstance",
142 substring: "Expected FactoryConfigurationError was not thrown"
143},
144{
145 description: "low-impact XML bugs:",
146 result: EXEC_FAILED,
147 names: [
148 "tests.api.javax.xml.parsers.DocumentBuilderFactoryTest#test_isSetXIncludeAware",
149 "tests.api.javax.xml.parsers.DocumentBuilderTest#testIsXIncludeAware",
150 "tests.api.javax.xml.parsers.SAXParserFactoryTest#test_setIsXIncludeAware",
151 "tests.api.javax.xml.parsers.SAXParserTest#testIsXIncludeAware"
152 ],
153 substring: "java.lang.UnsupportedOperationException: This parser does not support specification \"Unknown\" version \"0.0\""
154},
155{
156 description: "a low-impact bug: \"Shared FileDescriptors get closed too early\"
157 http://code.google.com/p/android/issues/detail?id=5923",
158 result: EXEC_FAILED,
159 name: "java.io.FileDescriptor.Finalize",
160 pattern: ".*java.io.IOException.*openCheck.*"
161},
162{
163 description: "a low-impact bug, also present in Crockford's implementation of org.json",
164 result: EXEC_FAILED,
165 name: "org.json.ParsingTest#test64BitHexValues",
166 substring: "Large hex longs shouldn't be yield ints or strings expected:<-1> but was:<0xFFFFFFFFFFFFFFFF>"
167},
168{
169 description: "this test needs to be fixed. We supply optional qnames, but this test doesn't expect them",
170 result: EXEC_FAILED,
171 name: "tests.api.javax.xml.parsers.SAXParserTest#test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String"
172},
173{
174 description: "these enforce a bug where an exception is incorrectly unthrown, but should maybe be fixed for
175 compatibility.",
176 result: EXEC_FAILED,
177 name: "org.apache.harmony.luni.tests.java.util.TreeMapTest#test_headMapLjava_lang_ObjectZL",
178 substring: "java.lang.IllegalArgumentException: null not in range ...5)"
179},
180{
181 description: "these enforce a bug where an exception is incorrectly unthrown, but should maybe be fixed for
182 compatibility.",
183 result: EXEC_FAILED,
184 names: [
185 "org.apache.harmony.luni.tests.java.util.TreeMapTest#test_tailMapLjava_lang_ObjectZL",
186 "org.apache.harmony.luni.tests.java.util.TreeMapTest#test_descendingMap_subMap"
187 ],
188 substring: "java.lang.IllegalArgumentException: 5 not in range (5..."
189},
190{
191 description: "BouncyCastle allows unrecognized algorithms, but RI does not, not clear if this is a bug",
192 result: EXEC_FAILED,
193 name: "org.apache.harmony.crypto.tests.javax.crypto.KeyAgreementTest#test_generateSecretLjava_lang_String",
194 substring: "junit.framework.AssertionFailedError: NoSuchAlgorithmException expected"
195}
196]