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