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