- 15 Nov, 2013 15 commits
-
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
ProcessBuilderTest : Don't execute java -version on the device. String2Test: Don't make assumptions about the order of the BOM. ThreadTest: We don't support Thread#destroy ControlTest : Fix bogus URL, this test still needs some work IdentityHashMap2Test : Fix bogus asserts. Also don't make assumptions about the implementations of Integer#tostring. The test was failing because Integer cached string reps of "small" integers. SimpleEntryTest / SimpleImmutableEntryTest : Don't rely on broken harmony TreeMap behaviour that allowed null keys. TimeZoneTest: Add vogar specific workaround & update display names. Change-Id: Ie3204917e1d729b0f4ac3bdcbf61fc6a54ab9387
-
- 14 Nov, 2013 11 commits
-
-
Narayan Kamath authored
URLTest: Unlike the RI, we return the empty string instead of null for missing authorities. In addition, URL#getFile() will always return files with a leading "/". HttpCookieTest: The test suffered from some pretty serious misunderstandings of the cookie spec. There's still a failure where we accept a negative max-age attribute (we shouldn't). Change-Id: Ia6646cd512fc1280033c0d37d8773bfd12e7f79a
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: https://code.google.com/p/android/issues/detail?id=62269 Change-Id: If6685cf60dcbbeda06dad086a6a6012488d700cc
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: https://code.google.com/p/android/issues/detail?id=61996 Change-Id: I55efc9d38c87d89bb20073e4632ab1e06c77be09
-
Narayan Kamath authored
Some tests still fail, but they appear to be valid tests. There are at least two separate issues here : - ClassLoader#getResource seems to be constructing a bogus URL (at least in this context). findResource returns a non null URL, but URL#openStream throws. - URLs with fragments (#foo) don't appear to work correctly. Change-Id: Iabf03e49c56659039feb85a0e528efcaaed0b49d
-
Narayan Kamath authored
The test case with the escaped URL still fails. Change-Id: Iae3a58fea800d8b981cb09474d1fa77b7c361e4e
-
Narayan Kamath authored
The two tests have been deleted because they do stuff that's unsupported and also because most of their functionality is duplicated in existing tests. Change-Id: Ie63bce1c402970c6679f5e843aee7dbe46593103
-
Narayan Kamath authored
The main points of disagreement between harmony and us was : (1) They allowed a singleton null key in their maps even when the comparator disallowed it (2) Their implementations of various NavigableMap functions were inconsistent. In particular, we throw correctly when tailMap / headMap refer to a key that's outside the restrictred range of a map. Change-Id: I26918a6e484a65ae03d53eaff887fe4c3cd7a7e0
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: https://code.google.com/p/android/issues/detail?id=61841 Change-Id: I91f200865834e9bce17cf116e6359b9fea385693
-
- 13 Nov, 2013 14 commits
-
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: https://code.google.com/p/android/issues/detail?id=62139 Change-Id: I3e1f5d64e432b1fa7b701ba285ffcb73ca81cc6c
-
Alex Klyubin authored
-
Narayan Kamath authored
(Still fails on resources that have a # though) Change-Id: I41b2657a57dd06ea1fd61de157ff4e8ea8bba7ac
-
Elliott Hughes authored
-
Narayan Kamath authored
Change-Id: I74eb4b24c975b2eeafb177431ec42b578772c743
-
Elliott Hughes authored
Bug: 11639117 Bug: http://code.google.com/p/android/issues/detail?id=61917 Change-Id: I09d5d2abada6ab6aab534ad0ccbcae0ebbb8f201
-
Narayan Kamath authored
Some of these tests were plain wrong, and the others were based on a wrong interpretation of the spec. Change-Id: I8fc39fbf6e98544d04cb6bbb9a2ae852b5ea1a4d
-
Narayan Kamath authored
Change path references and remove a test case that we don't support. Change-Id: I708a2823a8fe7d69e88b74838452bb7aa7532dca
-
Narayan Kamath authored
Remove a pointless test & return early from a test that won't work if the user is root. Change-Id: I5138497205a8bd1a10aa82fc83a8d207628fef0e
-
Narayan Kamath authored
test_close_shared_fd was testing the wrong thing. Also removes some pointless test code from the same method. Change-Id: I508ddd614a67ce450480abd4557079c672fbe1ad
-
Narayan Kamath authored
- Moves a few golden files from luni/ to harmony-tests/ - Delete dead code in SerializationTester - Fix a bug in SerializationTest (not sure how this ever worked for resources with "." in their name) Change-Id: Ia5b1376f4ada9b9c706a266ae077debeea5b1f29
-
Narayan Kamath authored
This has been deduped against : libcore/luni/src/test/java/org/apache/harmony/luni/tests libcore/luni/src/test/java/tests/api/ libcore/harmony-tests/src/test/java/tests/api This is a minimal change that builds the entire test suite. Many tests don't pass yet, they will be fixed in follow ups. Notable tests that haven't been moved: - ExcludedProxyTest: Might make requests to (now defunct) external servers. All of this code is tested in okhttp. - URLClassLoaderTest: Has a dependency on jetty, tested in okhttp. Notable test cases that haven't been moved: - URLTest: overlap with okhttp, might make requests to external servers. - ServerSocketTest#test_init: Uses Support_execJava, which we don't support yet. Isn't testing anything useful. - FileTest#testDeleteOnExist: Uses Support_execJava which we don't support yet. This is a useful test and we must ressurect it if at all possible. bug: 11650799 Change-Id: Ib277eb0bad465ea72b090168490a1a633611b3f3
-
Narayan Kamath authored
-