- 15 Nov, 2013 24 commits
-
-
Lorenzo Colitti authored
Some of these are needed so that LinkAddress can tell if an IP address is duplicate, tentative, etc. or if it usable. While we're at it, add all the ones that are defined in the kernel headers. Bug: 9180552 Change-Id: I5fc77cacf5df2249bcf08071430675204624916f
-
Narayan Kamath authored
-
Narayan Kamath authored
This reverts commit 81bf28ad. Breaks build Change-Id: I3f1562921ffe8fdbec36971dd65db398c27c92db
-
Narayan Kamath authored
-
Narayan Kamath authored
-
Narayan Kamath authored
The vast majority of cleaned up harmony tests are now in harmony-tests/src/test/org/apache/harmony/tests/ Change-Id: I56c2e484ff434b5618cf6751d602ae9f0db96b30
-
Narayan Kamath authored
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
-
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
-
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 13 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
I've erred on the side of caution and treated possibly broken tests as failures. Change-Id: Iebb49e5cee11f6e514da70e6c6bc7ac97964b0aa
-
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
Change-Id: I64642978a3f3f50d55267d642af20afbfa6ed4d6
-
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 3 commits
-
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: https://code.google.com/p/android/issues/detail?id=62139 Change-Id: I3e1f5d64e432b1fa7b701ba285ffcb73ca81cc6c
-
Alex Klyubin authored
-