summaryrefslogtreecommitdiffstats
path: root/harmony-tests/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bunch of Charset tests.Elliott Hughes2013-08-154-1370/+805
| | | | | | | | | | The isRegistered test is still failing. The problem is that icu4c's convrtrs.txt has names like "windows-1252" that are both the canonical name for one charset and an alias for another legacy charset. I need to work out how to resolve that. Bug: 10210999 Change-Id: If3425321c814622e4f54b2efca95a767bd16c080
* More Charset test fixes.Elliott Hughes2013-08-131-72/+44
| | | | | Bug: 10210999 Change-Id: Ie0686dae1e0b9dc016c1e99af8d9d4e146d73abd
* Fix various Charset tests, clean up the implementation.Elliott Hughes2013-08-079-145/+62
| | | | | | Bug: 10211558 Bug: 10211378 Change-Id: Ib3f97430f62163c0459c53e0c282ae0ca840e0af
* Fix GB-18030 tests.Elliott Hughes2013-08-062-15/+9
| | | | | Bug: 10211040 Change-Id: Icbfa37b930d475e47e86cd6168c303afe9351295
* We never supported obsolete EBCDIC variants.Elliott Hughes2013-08-061-30/+0
| | | | | | | And we're unlikely to start. So lose the failing test. Bug: 10211032 Change-Id: I36df7f5507b20a301b97ba2e9c2a3250c7de442f
* If libcore wants ASCII casing, it needs to ask for it like everyone else.Elliott Hughes2013-08-021-1/+2
| | | | | | | http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: I597b2ac940f17b5b2bc176e390dc4b63fe0a4e72
* Fix PatternTest failures.Elliott Hughes2013-08-011-1647/+0
| | | | | Bug: 10127357 Change-Id: I202e77d0ea0c8b407aca364ad81c8ae1f9c617ad
* Fix PatternSyntaxExceptionTest.Elliott Hughes2013-08-011-113/+0
| | | | | | | | The now-deleted copy had the serialization test code, but the other copy had the serialization test data. Fixed by merging. Bug: 10127357 Change-Id: Ie3b81b6cd00621965ab2a6a94dc3566df9751649
* Fix a CharsetEncoder test.Elliott Hughes2013-08-011-8/+21
| | | | | Bug: 10127357 Change-Id: I223fe74ed924ebb6cda22301c35bf42518532d74
* Minor cleanup from investigating UnixSelectorTest failures.Elliott Hughes2013-08-011-20/+6
| | | | | | | | This doesn't address the failures, but I'm moving on to look at the other failures first. Bug: 10127357 Change-Id: I6382e843bcb0d3e4b8726500beba2b5e123e9e01
* Fix a Selector bug and a test bug.Elliott Hughes2013-08-011-23/+17
| | | | | Bug: 10127357 Change-Id: I6d80586b243d6bd45fda5a36c043600d7528e891
* Improve Scanner performance.Elliott Hughes2013-06-272-0/+5817
| | | | | | | | | | | | | | | | We really don't want to compute a new regular expression and compile it into a new Pattern every time we call nextInt (and friends). Adding a single-element cache (flushed if the Scanner's locale changes) makes this 100x faster. There still exists a pathological case where you switch back and forth between bases. Also improve the documentation to make it clearer that you really don't want to use this awful class anyway. Also bring back a few more of the tests we lost in the gingerbread timeframe. Bug: https://code.google.com/p/android/issues/detail?id=57050 Change-Id: Id6095682fb44abae2887dda29dd3d32ac777c68f
* Fix SelectorTest#test_selectJ_Empty_Keys flakiness.Elliott Hughes2013-06-261-12/+14
| | | | Change-Id: I4acecd936075f226ae867d8b361ff422978af7de
* Various regex test fixes.Elliott Hughes2013-05-034-203/+120
| | | | | | | Mostly test changes and some duplication removal, but I did turn up a couple of small bugs. Change-Id: I46f99cdf0cdb8a67d358c0acc03079360fe5c333
* Add the harmony regex tests.Elliott Hughes2013-05-039-0/+4585
| | | | Change-Id: Ia98563f4485ee13210f7fb02a08806e2ffd553e0
* Add harmony java.nio.charset tests.Elliott Hughes2013-05-0337-0/+7009
| | | | Change-Id: I713069b35865cc01f5ed2f384dbc50b39d8a9346
* Add the harmony BufferedReaderTest.Elliott Hughes2013-05-011-0/+592
| | | | | Bug: 8778372 Change-Id: I10145bdfd90320da7d3ecd08404c4625495cec32
* Fix various of the harmony nio tests.Elliott Hughes2013-04-263-22/+42
| | | | | | | Plus one real bug, in FileChannelImpl. The expectation I've removed was for a test that doesn't seem to exist in either our tests or the harmony tests. Change-Id: I1ea99042f3f8897f07ba8b4ad8e9a15f30ace79b
* Add the harmony nio tests.Elliott Hughes2013-04-26102-0/+23248
| | | | Change-Id: I8a6d167743b20f31e769fe57d3aba89e16de24c3
* Add the harmony annotation tests.Elliott Hughes2013-04-265-0/+285
| | | | Change-Id: Ibbca52bae20e24e2d76d038d85e1ff5411ffc523
* Fix a bug in DatagramChannel.send.Elliott Hughes2013-04-242-0/+2638
| | | | | | | | | Calling sendto(2) binds your socket as a side-effect, but we'd still report false from isBound. Also bring in the harmony tests that would have caught this earlier. Change-Id: I26baa15c8178edab9136a37742faddd11f381c7b
* Reads from /dev/urandom can't really block.Elliott Hughes2013-04-241-0/+457
| | | | | | | | Move RandomBitsSupplier into its only caller. Bring over the harmony UUIDTest. Switch the SHA1_Data constants over to the more modern static import idiom. Bug: https://code.google.com/p/android/issues/detail?id=54168 Change-Id: I4e659e252ab43f481f39d003cf373100c84013d7
* Fix an outdated BigInteger test.Elliott Hughes2013-04-191-4/+4
| | | | | | I fixed BigInteger's behavior recently, so this test needs to change. Change-Id: I2cafa987ef290afd2a56f910d58b7a9a21b2d9e0
* Fix BigInteger test failures.Elliott Hughes2013-04-102-46/+38
| | | | | | | | We were hitting a couple of OpenSSL bugs. I've reported them upstream, and work around them in the meantime. Bug: 2943474 Change-Id: Ia06bcf3025f525a954d9b918669d09531631a266
* Fix two tests that weren't passing on Android or the RI.Elliott Hughes2013-04-081-2/+2
| | | | Change-Id: I8d3cc490a24211ffaff1bafec835f6dbbd877920
* Move the external/apache-harmony/math tests into libcore.Elliott Hughes2013-04-0422-0/+13169
Change-Id: Ic4acfcf8553e0108e6ad127afa2745bb551acba3