blob: 2c05b516a25217b8e78f87726358fe2a68d7b506 [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 Wilson1c925412011-03-28 09:54:43 -07008 name: "libcore.xml.DomTest#testEntityDeclarations",
Jesse Wilson220002e2010-09-22 19:16:17 -07009 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 Wilson1c925412011-03-28 09:54:43 -070014 name: "libcore.xml.DomTest#testGetWholeTextWithEntityReference",
Jesse Wilson220002e2010-09-22 19:16:17 -070015 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 Wilson1c925412011-03-28 09:54:43 -070019 name: "libcore.xml.DomTest#testExpandingEntityReferencesOff",
Jesse Wilson0463b622011-01-11 12:45:18 -080020 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",
Jesse Wilson1c925412011-03-28 09:54:43 -070025 name: "libcore.xml.DomTest#testExpandingEntityReferencesOn",
Jesse Wilson0463b622011-01-11 12:45:18 -080026 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 Wilson1c925412011-03-28 09:54:43 -070032 name: "libcore.xml.DomTest#testIsElementContentWhitespaceWithDeclaration",
Jesse Wilson220002e2010-09-22 19:16:17 -070033 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 Wilson1c925412011-03-28 09:54:43 -070038 name: "libcore.xml.DomTest#testNotations",
Jesse Wilson220002e2010-09-22 19:16:17 -070039 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 Wilson9b1c7782011-08-24 14:32:24 -040044 names: [
45 "tests.org.w3c.dom.HCNotationsRemoveNamedItemNS#testRemoveNamedItemNS",
46 "tests.org.w3c.dom.HCNotationsSetNamedItemNS#testNotationsSetNamedItemNS"
47 ]
48},
49{
50 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
51 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070052 name: "libcore.xml.DeclarationTest#testGetXmlEncoding",
Jesse Wilson28b429a2011-05-17 11:21:31 -070053 substring: "This implementation doesn't parse the encoding from the XML declaration"
Jesse Wilson220002e2010-09-22 19:16:17 -070054},
55{
Jesse Wilsona8d08322010-12-08 19:25:30 -080056 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
57 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070058 name: "libcore.xml.DeclarationTest#testGetXmlStandalone",
Jesse Wilson28b429a2011-05-17 11:21:31 -070059 substring: "This implementation doesn't parse standalone from the XML declaration"
Jesse Wilson220002e2010-09-22 19:16:17 -070060},
61{
Jesse Wilsona8d08322010-12-08 19:25:30 -080062 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
63 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070064 name: "libcore.xml.DeclarationTest#testGetXmlVersion",
Jesse Wilson5b59f8d2010-12-16 16:36:00 -080065 substring: "This implementation doesn't parse the version from the XML declaration"
Jesse Wilson220002e2010-09-22 19:16:17 -070066},
67{
Jesse Wilsona8d08322010-12-08 19:25:30 -080068 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
69 bug: 3268630,
Jesse Wilson1c925412011-03-28 09:54:43 -070070 name: "libcore.xml.NormalizeTest#testSchemaTypeDtd",
Jesse Wilson220002e2010-09-22 19:16:17 -070071 substring: "This implementation's setParameter() supports an unexpected value: schema-type=http://www.w3.org/TR/REC-xml"
72},
73{
Jesse Wilsona8d08322010-12-08 19:25:30 -080074 description: "Dalvik doesn't support XML Schemas, DTDs or validation",
75 bug: 3268630,
Piotr Jastrzebskifc083f32015-02-20 10:38:00 +000076 name: "org.apache.harmony.tests.api.javax.xml.parsers.DocumentBuilderTest#testSetEntityResolver",
Jesse Wilson220002e2010-09-22 19:16:17 -070077 substring: "java.lang.ClassCastException: org.apache.harmony.xml.dom.EntityReferenceImpl"
78},
79{
Jesse Wilson220002e2010-09-22 19:16:17 -070080 description: "many tests attempt to fork a Java executable, but fork the wrong one",
81 result: "EXEC_FAILED",
82 failure: "should fork a dalvikvm, not a JVM",
83 substring: "/system/bin.*IOException"
84},
85{
Jesse Wilson220002e2010-09-22 19:16:17 -070086 description: "low-impact XML bugs:",
87 result: EXEC_FAILED,
Jesse Wilson1c925412011-03-28 09:54:43 -070088 name: "libcore.xml.DomTest#testAttributeNamedIdIsNotAnIdByDefault",
Jesse Wilson220002e2010-09-22 19:16:17 -070089 substring: "This implementation incorrectly interprets the \"id\" attribute as an identifier by default"
90},
91{
92 description: "low-impact XML bugs:",
93 result: EXEC_FAILED,
Jesse Wilson1c925412011-03-28 09:54:43 -070094 name: "libcore.xml.DomTest#testDocumentAddChild",
Jesse Wilson220002e2010-09-22 19:16:17 -070095 substring: "Document nodes shouldn't accept child nodes"
96},
97{
98 description: "low-impact XML bugs:",
99 result: EXEC_FAILED,
Jesse Wilson1c925412011-03-28 09:54:43 -0700100 name: "libcore.xml.DomTest#testElementTraversalFeature",
Jesse Wilson220002e2010-09-22 19:16:17 -0700101 substring: "This implementation is expected to support ElementTraversal v. 1.0 but does not."
102},
103{
104 description: "low-impact XML bugs:",
105 result: EXEC_FAILED,
Jesse Wilson1c925412011-03-28 09:54:43 -0700106 name: "libcore.xml.DomTest#testLoadSaveFeature",
Jesse Wilson220002e2010-09-22 19:16:17 -0700107 substring: "This implementation is expected to support LS v. 3.0 but does not."
108},
109{
110 description: "low-impact XML bugs:",
111 result: EXEC_FAILED,
Jesse Wilson1c925412011-03-28 09:54:43 -0700112 name: "libcore.xml.SaxTest#testYesPrefixesYesNamespaces",
Jesse Wilson220002e2010-09-22 19:16:17 -0700113 substring: "The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enabled."
114},
115{
116 description: "low-impact XML bugs:",
117 result: EXEC_FAILED,
118 name: "tests.api.javax.xml.parsers.SAXParserFactoryTest#test_newInstance",
119 substring: "Expected FactoryConfigurationError was not thrown"
120},
121{
122 description: "low-impact XML bugs:",
123 result: EXEC_FAILED,
124 names: [
Piotr Jastrzebskifc083f32015-02-20 10:38:00 +0000125 "org.apache.harmony.tests.api.javax.xml.parsers.DocumentBuilderFactoryTest#test_isSetXIncludeAware",
126 "org.apache.harmony.tests.api.javax.xml.parsers.DocumentBuilderTest#testIsXIncludeAware",
127 "org.apache.harmony.tests.api.javax.xml.parsers.SAXParserFactoryTest#test_setIsXIncludeAware",
128 "org.apache.harmony.tests.api.javax.xml.parsers.SAXParserTest#testIsXIncludeAware"
Jesse Wilson220002e2010-09-22 19:16:17 -0700129 ],
130 substring: "java.lang.UnsupportedOperationException: This parser does not support specification \"Unknown\" version \"0.0\""
131},
132{
Jesse Wilson220002e2010-09-22 19:16:17 -0700133 description: "a low-impact bug, also present in Crockford's implementation of org.json",
134 result: EXEC_FAILED,
135 name: "org.json.ParsingTest#test64BitHexValues",
136 substring: "Large hex longs shouldn't be yield ints or strings expected:<-1> but was:<0xFFFFFFFFFFFFFFFF>"
137},
138{
139 description: "this test needs to be fixed. We supply optional qnames, but this test doesn't expect them",
140 result: EXEC_FAILED,
141 name: "tests.api.javax.xml.parsers.SAXParserTest#test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String"
142},
143{
Jesse Wilson220002e2010-09-22 19:16:17 -0700144 description: "BouncyCastle allows unrecognized algorithms, but RI does not, not clear if this is a bug",
145 result: EXEC_FAILED,
146 name: "org.apache.harmony.crypto.tests.javax.crypto.KeyAgreementTest#test_generateSecretLjava_lang_String",
147 substring: "junit.framework.AssertionFailedError: NoSuchAlgorithmException expected"
148}
Neil Fuller28673a22014-05-15 09:29:36 +0100149]