summaryrefslogtreecommitdiffstats
path: root/xml/src/test/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Merge awt-kernel, icu, luni-kernel, prefs, security-kernel, x-net into luniPeter Hallam2010-05-045-2001/+0
| | | | Merge xml except xmlpull and kxml into luni
* Tweak our test & runner so XPath tests can be executed on Hudson.Jesse Wilson2010-03-291-3/+3
|
* Fixing an import of a JUnit class that isn't available in dalvik-dev.Jesse Wilson2010-03-171-11/+0
|
* am f6976780: Merge "Exercising our XPath implementation with 279 of Jaxen\'s ↵Jesse Wilson2010-03-172-1/+318
|\ | | | | | | | | | | | | | | | | tests." Merge commit 'f6976780647c6b9bb168cc7a9c5c8f4ce1425caf' into dalvik-dev * commit 'f6976780647c6b9bb168cc7a9c5c8f4ce1425caf': Exercising our XPath implementation with 279 of Jaxen's tests.
| * Exercising our XPath implementation with 279 of Jaxen's tests.Jesse Wilson2010-03-162-1/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both our implementation and the RIv6 fail 29 tests, 17 of which are "could not find function" failures regarding our common lack of support for the evaluate(), document(), upper-case() and lower-case() functions. In addition, our implementation fails 10 additional tests: xml/moreover.xml / /child::node() "expected:<1> but was:<3>" xml/simple.xml / string() "expected:<abd> but was:<" xml/web.xml / /child::node() "expected:<web-app> but was:<>" xml/web.xml / child::node() "expected:<web-app> but was:<>" xml/web.xml / name(/child::node()) "expected:<web-app> but was:<>" xml/web.xml / name(/child::node()) "expected:<web-app> but was:<>" xml/web.xml / name(/node()) "expected:<web-app> but was:<>" xml/web.xml / name(child::node()) "expected:<web-app> but was:<>" xml/web.xml / name(node()) "expected:<web-app> but was:<>" xml/web.xml /* name(../child::node()) "expected:<web-app> but was:<>" Change-Id: Icb4695bbf826fd8f1c1ffae5e857169ff551f75e
* | am 27182541: Implementing Document.renameNode() and ↵Jesse Wilson2010-03-151-1/+1
|\ \ | |/ | | | | | | | | | | | | | | DOMImplementation.getFeature(). Merge commit '271825415aa961bdd9f28a551575bcee6f27b4ab' into dalvik-dev * commit '271825415aa961bdd9f28a551575bcee6f27b4ab': Implementing Document.renameNode() and DOMImplementation.getFeature().
| * Implementing Document.renameNode() and DOMImplementation.getFeature().Jesse Wilson2010-03-151-1/+1
| | | | | | | | | | | | | | The rename code required moving some behaviour from ElementImpl and AttrImpl up to their common superclass, NodeImpl. Change-Id: I30910de146f525a5ecc837895ce5808928b858a0
* | Merge remote branch 'goog/master' into mmElliott Hughes2010-02-221-44/+196
|\ \ | |/ | | | | | | Conflicts: libcore/JavaLibrary.mk
| * Fixing problems with the test runner's ability to parse expected results files.Jesse Wilson2010-02-111-34/+179
| | | | | | | | | | | | It appears that the original authors of this testing framework didn't really know whether these files were supposed to be XML or HTML, UTF-8 or UTF-16, and so there's quite a mess of processing in order to canonicalize them.
| * Fixing some of our XSLT implementation issues.Jesse Wilson2010-02-101-13/+20
| | | | | | | | | | | | | | | | | | | | | | These changes move our XSLT code to passing 1898/3173 of the OASIS tests. To contrast, the RI passes 2105/3173 tests. Highlights: - Implementing getTextContent() for nodes - Removing validation during transforms. We don't support validation! - Fixing attribute constraints to match the spec - Fixing test suite to not confuse BaseURI from NamespaceURI
* | Resync a load of tests with upstream, make our build faster.Elliott Hughes2010-02-192-3/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | I started off with a mission to remove uses of dalvik.annotation.* (stuff like @TestTargetNew and other useless junk that just makes it harder to stay in sync with upstream). I wrote a script to go through tests showing me the diff between what we have and what upstream has, thinking that in cases where upstream has also added tests, I may as well pull them in at the same time... ...but I didn't realize how close we were to having dx fill its 1.5GiB heap. After trying various alternatives, I decided to bite the bullet and break core-tests up into one .jar per module. This adds parallelism back into this, the slowest part of our build. (I can do even better, but I'll do that in a separate patch, preferably after we've merged recent changes from master.) Only a couple of dependencies were problematic: the worthless TestSuiteFactory which already contained a comment suggesting we get rid of it, and the fact that some tests -- most notably the concurrent ones -- also contained main methods that started the JUnit tty-based TestRunner. (In the long run, we want to be running the harmony tests directly from a pristine "svn co" of upstream, using DalvikRunner. But this will be a big help in the meantime, and starts the work of getting our current copy of the tests into a state where we can start to extract any meaningful changes/additions we've made.)
* Merge "A new test suite for our XSLT transforms."Jesse Wilson2010-02-021-0/+484
|\
| * A new test suite for our XSLT transforms.Jesse Wilson2010-02-021-0/+484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the test suite isn't wired-in to run automatically. Before that can happen I need to devise a way for the device to grab the OASIS test .zip from the Internet (or distribute it with Android). In the interim the test can be run by hand by manually copying the test suite to the device ("adb push") and running the test suite's main method. This approach might be workable in our continuous build. Note that the RI does horribly at this test suite - in my run it reports the following: FAILURES!!! Tests run: 3173, Failures: 338, Errors: 730
* | Fixing a critical regression in our SAX parsing.Jesse Wilson2010-01-291-0/+139
|/ | | | | We weren't correctly covering the case where namespaces were off, but elements contained namespaces. See bug 2400596.
* Including proper prefixes and qualified names in the Expat parser.Jesse Wilson2010-01-261-6/+4
| | | | | | | | | | | | | | | | | | | Also changing our SAX codepath to always include values for optional parameters. In testing Xalan's javax.xml.transform packages with the Expat source code, the emitted documents were malformed. The underlying problem was that Xalan was expecting optional parameters to be populated, but Expat was not populating them. The spec says, "Any or all of these may be provided, depending on the values of the http://xml.org/sax/features/namespaces and the http://xml.org/sax/features/namespace-prefixes properties: * the Namespace URI and local name are required when the namespaces property is true (the default), and are optional when the namespaces property is false (if one is specified, both must be); * the qualified name is required when the namespace-prefixes property is true, and is optional when the namespace-prefixes property is false (the default). Although Xalan is technically at fault here, it may take forever to find all of the places where these optional parameters are assumed to be present. Instead, I'll just supply them which adds little overhead anyway. See http://code.google.com/p/android/issues/detail?id=990
* Implement DTDHandler support for ExpatParser.Elliott Hughes2009-12-091-4/+59
| | | | | | | | | | | Every time a third-party developer gets their DefaultHandler method signatures wrong (making it impossible for us to call them), they see this in the log and complain that SAX parsing is broken on Android: WARN/ExpatReader(704): DTD handlers aren't supported. This patch adds that support -- even though no-one wants it -- so we can get rid of the irrelevant log message.
* Our XML serializer permits \0, resulting in malformed documents.Jesse Wilson2009-11-061-0/+29
| | | | | This failing test demonstrates the problem. It also adds AllTests plumbing for this test and some missing ones.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+839
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-839/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+839