summaryrefslogtreecommitdiffstats
path: root/expectations/brokentests.txt
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate use of BrokenTest and SideEffectBrett Chabot2014-05-211-0/+66
| | | | | | | | | Use expectations files instead. (cherry picked from commit 6a6b612286976cc185c898803fe51e4e062bd9eb) Bug: 12924356 Change-Id: I9b7e71805a80176c873cffe46bed65f81de1903d
* Reenable tests that currently pass in CTSNeil Fuller2014-05-191-5/+0
| | | | | | | | | | | | The reasons I can do this are: 1) Fixes for other bugs / updates, etc. have made tests pass. 2) Bugs were fixed without removing suppressions. 3) Tests may have been suppressed by accident. Tested on a local device running a master build. Bug: 14808340 Change-Id: I7c6600c89ff1cc4ca5337ee952c972bdbf5467e8
* Remove unnecessary test suppression entriesNeil Fuller2014-05-151-552/+3
| | | | | | | | | | | Most removals fit into these categories: 1) Test classes or methods that no longer exist / have been renamed 2) Various odd entries that are not for Junit tests. Some appear to correspond with some Open-JDK tests so may share a common heritage. Bug: 14808340 Change-Id: If829a83cfcf82cac9a0301733b724716087fea05
* Removing suppression of tests that obviously no longer exist.Neil Fuller2014-05-151-241/+0
| | | | | | | | This is a removal of tests from org.apache.harmony.luni.tests that no longer exist (under that package name). Bug: 14808340 Change-Id: I99e87fc43018596e4be0f4b352cc9a7cc33da4cc
* Blacklist ControlTest test case.Neil Fuller2014-05-081-0/+8
| | | | | | | | | | | | | org.apache.harmony.tests.java.util.ControlTest The test is probably broken, but the code under test also looks broken. Unpicking it all and fixing it all is low priority. Marking it as known-broken until it can be given the attention it deserves. Change-Id: I0e2784aa505ace4ab86149741c2faf94d8432df9 Bug: 13747957
* Implementing bind() and getLocalAddress() for NIO2.Neil Fuller2014-02-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces NetworkChannel, but only bind() and getLocalAddress() methods. To avoid breaking existing Android applications that extend ServerSocketChannel, DatagramChannel and SocketChannel the methods have been added with concrete implementations that throw exceptions rather than leaving them abstract. In channel tests, usages of channel.socket().bind() and channel.socket().getLocalSocketAddress() have been changed to channel.bind() and channel.getLocalAddress(), since the behavior is close enough and the tests should be written against the channel APIs as much as possible. Tests have been added for new methods. Removed further overriding in DatagramChannelImpl.DatagramSocketAdapter and SocketChannelImpl.SocketAdapter which revealed some bugs and lack of clarity in the docs for the socket methods: Improved the documentation for DatagramSocket.getLocalAddress(), DatagramSocket.getLocalSocketAddress(), ServerSocket.getInetAddress(), ServerSocket.getLocalPort(), ServerSocket.getLocalSocketAddress(), Socket.getLocalAddress(), Socket.getLocalPort(), Socket.getLocalSocketAddress(). These methods treat special cases differently. Fixed a bug in DatagramSocket.getLocalSocketAddress() where it would incorrect throw an exception if the socket has been closed, which contradicts the (updated) documentation and the RI. It now returns null. Added tests. Fixed a bug in Socket.close(): a closed socket would still report as being connected. Added tests. Fixed a bug in Socket.startupSocket() - the socket was recording it was being bound, but was not updating the cached local address. This method is called during ServerSocketChannel.accept() and would cause the socket to report its local address as being the wildcard address, when it is not. Added a test. Change-Id: Ibec8527e1c72597e268d23e6c1f03eb16e46cdc4 Bug: 12464155
* Delete Support_PortManager & OldDatagramSocketTestNarayan Kamath2014-01-061-3/+1
| | | | | | | | | | | | | Support_PortManager didn't really work, so rewrite all tests that use it. Also, dedup OldDatagramSocketTest with the harmony DatagramSocketTest. Fix various broken test cases and terribly written tests. bug: 11689863 Change-Id: I4efb9e02eb88517273fff50a0dec1d0262feafb2
* Fix broken test cases in DeflaterTest & InflaterTestNarayan Kamath2013-12-191-5/+1
| | | | | | | | | | We explicitly disallow setLevel or setStrategy after setInput. (It's clearly documented in the method docs). Presumably, this is to prevent users from shooting themselves in the foot & causing issues by changing the strategy / level after we've started deflating. Change-Id: Ifd65728ff0ec7e47aeec716aeb6f44242573c491
* Fix broken assumption in a unit test.Narayan Kamath2013-12-191-1/+0
| | | | Change-Id: I15c25ff373b1ca4acb5e530f75d028b971779549
* Make DeflaterInputStream#available more consistent.Narayan Kamath2013-12-191-12/+0
| | | | | | | | | | | | | | | | | | | - We now guarantee that available() returns 0 iff. deflater.finished() == true. Note that this is still inconsistent with the specification of InputStream#available. - Remove an unnecessary array copy in DeflaterInputStream#read. - Remove tests that expect an IllegalArgumentException for negative skip count values. The InputStream spec doesn't mandate that we must throw here, and it's better to be consistent with every othem InputStream specialization in the code. - Remove obsolete failures from brokentests.txt. bug: 12189307 Change-Id: Ie9b1ad5d7c050b005b5f6f44a5a283bfdaeb1e81
* Move tests from harmony/archive to libcore.Narayan Kamath2013-12-181-0/+16
| | | | | | | Also moves a couple of tests from luni/src/test to harmony-tests/ where they belong. Change-Id: I0b441b1fcbd355bd3c66551d16732a671fb64f54
* Move tests from tests/api to harmony-tests. (Take 2)Narayan Kamath2013-11-151-16/+16
| | | | | | | This reverts commit d5e281743e55e1daa297fd8043b2d9b6e8e1bed2. The makefile issue that caused the original build break has been resolved.
* Revert "Move tests from tests/api to harmony-tests."Narayan Kamath2013-11-151-16/+16
| | | | | | | | This reverts commit 81bf28ad31131815d0a36a43a0eca3c29aefdfcd. Breaks build Change-Id: I3f1562921ffe8fdbec36971dd65db398c27c92db
* Move tests from tests/api to harmony-tests.Narayan Kamath2013-11-151-16/+16
| | | | | | | The vast majority of cleaned up harmony tests are now in harmony-tests/src/test/org/apache/harmony/tests/ Change-Id: I56c2e484ff434b5618cf6751d602ae9f0db96b30
* Use a consistent package path for harmony tests.Narayan Kamath2013-11-151-3/+3
| | | | | | | | | | | | | | | | | | | | | Harmony was never consistent about where they put their tests. There's no reason we have to be the same. Also, there's no need to have separate subtrees for nio, nio_char etc. etc. This change makes all existing apache harmony tests subpackages of "org.apache.harmony.tests" and put them under libcore/harmony-tests. We somehow managed to end up with two vastly different copies of CharsetDecoderTest & CharsetEncoderTest. I've renamed the copies CharsetDecoder2Test & CharsetEncoder2Test to avoid having to go in and resolve the complicated diffs or speculate about the reasons for their divergence. Change-Id: Ic34e69c2faab8893edd54e05eccd7091f4a09abd
* Add remaining harmony failures to the known failures list.Narayan Kamath2013-11-141-0/+28
| | | | | | | I've erred on the side of caution and treated possibly broken tests as failures. Change-Id: Iebb49e5cee11f6e514da70e6c6bc7ac97964b0aa
* Fix harmony java.text test failures.Elliott Hughes2013-08-301-37/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | There were plenty of bad tests here, but there were some real bugs too. * DecimalFormat was only handling RoundingMode.UNNECESSARY for double formatting. * DecimalFormat was not ensuring that it's superclass' fields were being correctly updated. * NumberFormat was throwing NPE for a null object because of an improved detail message, despite being specified to throw IAE. * We weren't mapping NumberFormat.Field instances to the corresponding icu4c UNUM_x_FIELD constant, so we weren't actually setting FieldPosition objects correctly. * SimpleDateFormat was not formatting milliseconds correctly with 'S'. * NativeDecimalFormat wasn't handling JNI NewString OOME correctly. Bug: 2528220 Bug: 3056865 Bug: 3057080 Bug: 3057090 Change-Id: Iac11f902f2e9649e596e7e7b7bc501b13e956fca
* More Charset test fixes.Elliott Hughes2013-08-131-6/+0
| | | | | Bug: 10210999 Change-Id: Ie0686dae1e0b9dc016c1e99af8d9d4e146d73abd
* Remove tests for es__TRADITIONAL.Elliott Hughes2013-08-061-11/+0
| | | | | | | More obsolete stuff. Bug: 10210892 Change-Id: I4a89a2439e38a173971a5b878430cb547d70871d
* Fix various of the harmony nio tests.Elliott Hughes2013-04-261-6/+0
| | | | | | | 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
* Fix KeyPairGenerator test for DHKenny Root2013-02-061-5/+0
| | | | | | | | | | | Finding safe primes for the DH key pair generator can take up to 20 minutes sometimes. Use a pre-defined set of primes instead of skipping the test altogether because of the extreme amount of time it takes. This leaves us not testing one software path, but this situation is strictly better than not running the test at all. Change-Id: I03d457747e2ec1a2592c1c6350365cbe5aa33759
* Fix OldClassTest failures.Elliott Hughes2012-12-031-9/+0
| | | | | | | | These hadn't run at all until recently, and the fact that vogar doesn't run tests in a way that makes resources accessible hid the fact that the tests were checked-in broken as well as disabled. Change-Id: I28d24e01b60411f0f9be7daba6de0376a7f8cac0
* Suppress long broken test caused by kernel bugBrian Carlstrom2012-09-211-1/+6
| | | | | Bug: 6964436 Change-Id: I9a6fd2ec589968743dc6727dad406057b328156d
* Updating test failuresBrian Carlstrom2012-03-231-0/+20
| | | | Change-Id: I2daff9fbb29f64366b24927824867ec40551ed83
* Don't require security permissions to be non null.Jesse Wilson2011-02-211-0/+5
| | | | | Change-Id: I1efb88af05a022e8b3efce57d96f2d6e085a5161 http://b/2585285
* Scrub test failures from the dalvik-dev build.Jesse Wilson2011-02-111-1/+1
| | | | | | Change-Id: I058daff4670945455385e3b3c7070ae6c6570940 OldStringBufferTest: don't assume a max heap size exists URLEncoderTest: don't test exception priority
* Update expectations for charset and URL test failures.Jesse Wilson2011-02-091-0/+19
| | | | Change-Id: I3ff901d56df34e29830efbcd6e5e2a619629a733
* Deduplicate java.lang tests from Harmony.Jesse Wilson2010-12-011-3/+3
| | | | | | | | This removes all tests duplicated in Harmony's test suite, and moves the rest into the libcore.java.lang package. Change-Id: Ic2fe12cc1e10513abb721d98e7b9b3a2e00192f5 http://b/3246523
* am bf1bdd0a: am c84c0e51: Merge "Remove logging tests duplicated from ↵Jesse Wilson2010-10-041-1/+1
|\ | | | | | | | | | | | | | | | | Harmony" into gingerbread Merge commit 'bf1bdd0ad12aabf9fbbbda30a938ce2b625d38c9' * commit 'bf1bdd0ad12aabf9fbbbda30a938ce2b625d38c9': Remove logging tests duplicated from Harmony
| * Remove logging tests duplicated from HarmonyJesse Wilson2010-10-021-1/+1
| | | | | | | | Change-Id: I057552b555ee891810d4577b7359ed309d5c1611
* | am 6397c0c2: am 9920dd55: Merge "Remove FormatterTest tests duplicated with ↵Jesse Wilson2010-09-261-9/+0
|\ \ | |/ | | | | | | | | | | | | | | Harmony." into gingerbread Merge commit '6397c0c25ce2a972a8ba731448007bb9619b7a6d' * commit '6397c0c25ce2a972a8ba731448007bb9619b7a6d': Remove FormatterTest tests duplicated with Harmony.
| * Remove FormatterTest tests duplicated with Harmony.Jesse Wilson2010-09-261-9/+0
| | | | | | | | Change-Id: I9c95aac22b9df7efff6595e94700a17cfc5d3d7b
* | am ae1f467f: am 18a7c239: am ceb76118: Merge "Add expectations for some ↵Jesse Wilson2010-09-241-3/+3
|\ \ | |/ | | | | | | | | | | | | | | tests failing in Hudson." into gingerbread Merge commit 'ae1f467fd324947afe525263ef4b3e9ff2582d7d' into dalvik-dev * commit 'ae1f467fd324947afe525263ef4b3e9ff2582d7d': Add expectations for some tests failing in Hudson.
| * Add expectations for some tests failing in Hudson.Jesse Wilson2010-09-231-3/+3
| | | | | | | | Change-Id: Iee064e099a30d4ab6de7a80863df6b1485e23b38
| * Use JSON for expectations files.Jesse Wilson2010-09-221-752/+885
| | | | | | | | | | | | | | | | This allows us to print the expectation description when a test fails. I'll follow this up by wiring vogar to do very clever things with the statuses of linked bugs. Change-Id: Idc3048b5dafff864675e760a3bb0c8fea48bb807
* | Manually merge 69680: JSON expectationsJesse Wilson2010-09-231-776/+885
| | | | | | | | Change-Id: I983ad951e6445744b39dc763cf425172d2f4da31
* | Address test failures in java.util.zip.Jesse Wilson2010-09-081-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Some deflater tests fail because they expect a specific byte sequence in the compressed form. Our compressed form is valid but has a different sequence. I've written new tests to cover the related APIs and suppressed the broken tests. The other deleted tests are duplicated exactly from Harmony. I'm removing our copy. Change-Id: If480d54948e634e4f6b1018da30951a1d4d07b49
* | Suppress broken jtreg tests that expect command line parameters.Jesse Wilson2010-09-021-0/+12
|/ | | | Change-Id: I6aab06d22dd59b4c9ca1ffce7413e0f4adf472e1
* Updating expectations for Harmony tests that we have yet to fixJesse Wilson2010-08-201-0/+18
| | | | Change-Id: Ifdc2cb5f007ac4ab4169833f9fb144c16b9a2888
* Add an expectation.Elliott Hughes2010-06-231-0/+4
| | | | Change-Id: Ic28d57e90e36cbb40b66393acc53296d75d77277
* Improve Formatter exception detail messages and fix test expectations.Elliott Hughes2010-06-221-0/+23
| | | | | Bug: 2788945 Change-Id: I959df2c338a4d85497a23705b553f0c749ef1070
* Fixing some test suppressions.Jesse Wilson2010-06-221-5/+0
| | | | | | | | | Removing tests duplicated with Harmony. Tests methods in such test classes are moved to their own test classes in our test tree. Removing all Pack200 tests; these don't make sense on a dalvik vm. Change-Id: Ia2f6a542b4e3e3b50962c83dc2700bd4ee07f363
* Deduplicating failed tests in org.apache.harmony.luni.tests.java.lang.Jesse Wilson2010-06-221-4/+0
| | | | | | | | | | | Some tests were copied from Harmony and fixed in Dalvik. I've applied fixes in our SVN copy of Harmony and removed the duplicate copies here. Also improving error reporting for missing resource files. Some of our serialization tests were failing due to missing files; the corresponding Harmony tests succeed. Change-Id: I73872b03674f8731ff237f575dcda66f9d53c06a
* Implementing ZoneInfo.hasSameRules().Jesse Wilson2010-06-181-0/+5
| | | | | | | | | | | | Moving TimeZoneTest to OldTimeZoneTest and removing test methods that are duplicated between libcore and Harmony. Also adding Objects.equals() to make implementing this easy, and removing redundant time zone tests. I did a few searches to find candidate code that could take advantage of this new utility method and adopted it there. Change-Id: I133298f1b36d755bd35c1ad0dc0ab366fd164270
* Remove a duplicate expectation.Elliott Hughes2010-06-151-4/+0
| | | | | | (Maybe vogar should make this a loud warning rather than a failure?) Change-Id: I9f178348c0ecbb432b26e3c98a5fb7b388a95ebc
* More test expectation fixes.Elliott Hughes2010-06-151-2/+11
| | | | | | | | Add three more broken tests, and fix expectations that used '.' instead of '#'. It would be nice if vogar would warn about non-pattern test names that aren't actually found in the test suite. Change-Id: I07d460744a8d9e40364b6d36b25da8e3d569fdb5
* Various broken tests.Elliott Hughes2010-06-141-4/+23
| | | | | | I'll commit a vogar bug fix to the public repository too. Change-Id: I3c18a1b8f74303aab65f67940ff41539f9620df1
* Fix our expectations to match the acutal exception System.setSecurityManager ↵Elliott Hughes2010-06-141-1/+1
| | | | | | throws. Change-Id: I5e9dfc8c9bbeee44ca8805bd7089d5b190b3d533
* Tag large tests so that they run to completion in our build.Jesse Wilson2010-05-281-1/+25
| | | | Change-Id: Ic8fc1364c7b596ce1872fab2df14f31e45554bb3
* Filling in APIs from RI 6 that we missed.Jesse Wilson2010-05-281-0/+3
| | | | Change-Id: I7f98bbbb3c68efee61b88acc3bc25f2c9990b519