Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file contains expectations for tests that we'd like to eventually fix, but aren't urgent. |
| 3 | */ |
| 4 | [ |
| 5 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 6 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 7 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 8 | name: "libcore.xml.DomTest#testEntityDeclarations", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 9 | substring: "This implementation does not parse entity declarations" |
| 10 | }, |
| 11 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 12 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 13 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 14 | name: "libcore.xml.DomTest#testGetWholeTextWithEntityReference", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 15 | substring: "This implementation doesn't resolve entity references in getWholeText" |
| 16 | }, |
| 17 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 18 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 19 | name: "libcore.xml.DomTest#testExpandingEntityReferencesOff", |
Jesse Wilson | 0463b62 | 2011-01-11 12:45:18 -0800 | [diff] [blame] | 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", |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 25 | name: "libcore.xml.DomTest#testExpandingEntityReferencesOn", |
Jesse Wilson | 0463b62 | 2011-01-11 12:45:18 -0800 | [diff] [blame] | 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 Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 31 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 32 | name: "libcore.xml.DomTest#testIsElementContentWhitespaceWithDeclaration", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 33 | substring: "This implementation does not recognize element content whitespace" |
| 34 | }, |
| 35 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 36 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 37 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 38 | name: "libcore.xml.DomTest#testNotations", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 39 | substring: "This implementation does not parse notations" |
| 40 | }, |
| 41 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 42 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 43 | bug: 3268630, |
Jesse Wilson | 9b1c778 | 2011-08-24 14:32:24 -0400 | [diff] [blame] | 44 | 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 Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 52 | name: "libcore.xml.DeclarationTest#testGetXmlEncoding", |
Jesse Wilson | 28b429a | 2011-05-17 11:21:31 -0700 | [diff] [blame] | 53 | substring: "This implementation doesn't parse the encoding from the XML declaration" |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 54 | }, |
| 55 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 56 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 57 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 58 | name: "libcore.xml.DeclarationTest#testGetXmlStandalone", |
Jesse Wilson | 28b429a | 2011-05-17 11:21:31 -0700 | [diff] [blame] | 59 | substring: "This implementation doesn't parse standalone from the XML declaration" |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 60 | }, |
| 61 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 62 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 63 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 64 | name: "libcore.xml.DeclarationTest#testGetXmlVersion", |
Jesse Wilson | 5b59f8d | 2010-12-16 16:36:00 -0800 | [diff] [blame] | 65 | substring: "This implementation doesn't parse the version from the XML declaration" |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 66 | }, |
| 67 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 68 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 69 | bug: 3268630, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 70 | name: "libcore.xml.NormalizeTest#testSchemaTypeDtd", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 71 | substring: "This implementation's setParameter() supports an unexpected value: schema-type=http://www.w3.org/TR/REC-xml" |
| 72 | }, |
| 73 | { |
Jesse Wilson | a8d0832 | 2010-12-08 19:25:30 -0800 | [diff] [blame] | 74 | description: "Dalvik doesn't support XML Schemas, DTDs or validation", |
| 75 | bug: 3268630, |
Piotr Jastrzebski | fc083f3 | 2015-02-20 10:38:00 +0000 | [diff] [blame] | 76 | name: "org.apache.harmony.tests.api.javax.xml.parsers.DocumentBuilderTest#testSetEntityResolver", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 77 | substring: "java.lang.ClassCastException: org.apache.harmony.xml.dom.EntityReferenceImpl" |
| 78 | }, |
| 79 | { |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 80 | 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 Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 86 | description: "low-impact XML bugs:", |
| 87 | result: EXEC_FAILED, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 88 | name: "libcore.xml.DomTest#testAttributeNamedIdIsNotAnIdByDefault", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 89 | 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 Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 94 | name: "libcore.xml.DomTest#testDocumentAddChild", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 95 | substring: "Document nodes shouldn't accept child nodes" |
| 96 | }, |
| 97 | { |
| 98 | description: "low-impact XML bugs:", |
| 99 | result: EXEC_FAILED, |
Jesse Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 100 | name: "libcore.xml.DomTest#testElementTraversalFeature", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 101 | 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 Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 106 | name: "libcore.xml.DomTest#testLoadSaveFeature", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 107 | 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 Wilson | 1c92541 | 2011-03-28 09:54:43 -0700 | [diff] [blame] | 112 | name: "libcore.xml.SaxTest#testYesPrefixesYesNamespaces", |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 113 | 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 Jastrzebski | fc083f3 | 2015-02-20 10:38:00 +0000 | [diff] [blame] | 125 | "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 Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 129 | ], |
| 130 | substring: "java.lang.UnsupportedOperationException: This parser does not support specification \"Unknown\" version \"0.0\"" |
| 131 | }, |
| 132 | { |
Jesse Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 133 | 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 Wilson | 220002e | 2010-09-22 19:16:17 -0700 | [diff] [blame] | 144 | 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 Fuller | 28673a2 | 2014-05-15 09:29:36 +0100 | [diff] [blame] | 149 | ] |