diff options
author | Paul Duffin <paulduffin@google.com> | 2017-02-23 16:25:04 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2017-02-27 15:07:45 +0000 |
commit | 30307ec0c76a51b91701f3b90d764ad6ef679dc3 (patch) | |
tree | f70d94a1311e545115383c4ae69188f58a0ff7fa /include/ScopedJavaUnicodeString.h | |
parent | dbafcb7bfc98ae72e2f1ce4945e1dbf94cd16c34 (diff) |
Fix InetAddress.getByName tests
Removes suppression of legacy harmony tests that fail on
Android.
Changes:
1) Switches libcore InetAddressTest to parameterized Junit4 test
framework to make additions of test data easier / clearer.
2) Removes failing harmony test cases. This seemed like the
correct approach as the harmony tests expected completely
opposite behavior to the libcore tests but while the libcore
tests pass the harmony tests have been broken for over 3 years.
3) Adds test cases to libcore InetAddressTest to assert the
behavior of addresses removed from the harmony test cases.
4) Removes suppression of harmony test cases.
5) Handles knock-ons in SerializationTester; it assumed that all
tests extend TestCase, no longer the case with JUnit 4.
Bug: 11689863
Test: with cts and vogar
Change-Id: Iea6ba11fda18f058068e4eea1490d98ee7a3eb2d
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions