| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the hostname was "localhost", which
resolves to the IPv4 loopback address.
Also fixed the documentation for getAllByName(null)
which has returned the loopback addresses all the way
back to 2009 and not thrown an exception as
suggested in the docs.
Test fixes and new tests included.
Depends on commit 25147416bb105914c3cdf8fd65ca7cc20dae0f3e
Bug: 18991397
Bug: https://code.google.com/p/android/issues/detail?id=96801
Change-Id: I9723516a977e2a3b97412bc1d7e58b36df327feb
|
|
|
|
| |
Change-Id: I26b1e65db8814833dff0607db0bd4c5dadef2957
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It uses reflection, has all sorts of weird stuff in it and isn't
run as part of CTS because it has irreversible side effects (the
last of these isn't the tests fault).
There's no good reason to keep it, and it seems infeasible to write
a half-decent test without adding lots of hidden api (which defeats
the purpose of the test in the first place).
bug: 18619181
Change-Id: I1507a42e12210869b727f46b543e0cebfc50f184
|
|
|
|
| |
Change-Id: Idd63b469726a1b6529d3aed931f02024ba04b903
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original commit on goog/master
(6a6b612286976cc185c898803fe51e4e062bd9eb) was cherry picked into
aosp/master (6cc167354969859a27919a8d7f546cb4bd74d51e).
The cherry-pick should probably have been marked as not
needing to be merged.
When the change was merged from klp-modular-dev-plus-aosp
into master, the test suppressions in brokentests.txt were
duplicated, presumably because they were simple additions.
This change removes those duplicates.
Change-Id: I1eedec56c73cf9be93bc5bac2ce215069f86e335
|
|\
| |
| |
| |
| |
| |
| | |
klp-modular-dev-plus-aosp
* commit '5d5d74033d8aa4e7d053ecf0f9f3fd8c50187bfe':
Deprecate use of BrokenTest and SideEffect
|
| |\
| | |
| | |
| | | |
Change-Id: I54e57263e968e3f28ae07949d74d47f0907ab175
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use expectations files instead.
(cherry picked from commit 6a6b612286976cc185c898803fe51e4e062bd9eb)
Bug: 12924356
Change-Id: I9b7e71805a80176c873cffe46bed65f81de1903d
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Removed all X509CertificateNistPkitsTest changes
as part of the merge. I will investigate the state
of these tests separately.
Conflicts:
expectations/knownfailures.txt
Change-Id: Ie9bc0b3ac89cc5be2733b677a1bfe20253bf101f
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'a9f3c15fa77a67f69c2ec0a058b057391a276bda':
Reenable tests that currently pass in CTS
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
suppression entries"
* commit '75744a84159d529af36ee578afc3cc9378415b3b':
Remove unnecessary test suppression entries
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '6cd776768930dd5a543679a63aae310c3c6bd3ed':
Remove unnecessary test suppression entries
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
that obviously no longer exist."
* commit '8f327ae7c6030530cac0d578ac6782e9bb5e4040':
Removing suppression of tests that obviously no longer exist.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
obviously no longer exist."
* commit 'ddb567c4ca07c7aa45d895a3189e2ae463e6d176':
Removing suppression of tests that obviously no longer exist.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
klp-modular-dev for dory
* commit 'f586bda5bf607c76b608b715ad248871522372f3':
DO NOT MERGE : Suppress broken DecimalFormatTest on klp-modular-dev for dory
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The DecimalFormatTest has some tests that appear to be broken. It is not
clear without a much more detailed investigation as they appear to be issues
with representation of very high precision numbers which is a complex area
and very easy to get wrong. Will suppress the tests on klp-modular-dev so that
it doesn't block progress on dory. Will investigate further and fix them
properly on master.
Bug: 12781028
Change-Id: Iff062b0cb2d7d55d7bc885b7f55bbaf48685d8f9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
(cherry picked from commit d377f244c95a5bf24f0e8e2cd05ad27497f3e67f)
Bug: 13747957
Conflicts:
expectations/brokentests.txt
Change-Id: I06cddf03846efbb9f8fee46b51ff94cac112e965
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ie6b363f2fcee69aa71f96fbab2d4179633f6f683
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Use expectations files instead.
Bug: 12924356
Change-Id: I0ea7917384adf7849404b6da5b7704e6f0c0c1c7
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I15c25ff373b1ca4acb5e530f75d028b971779549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
Also moves a couple of tests from luni/src/test to
harmony-tests/ where they belong.
Change-Id: I0b441b1fcbd355bd3c66551d16732a671fb64f54
|
|
|
|
|
|
|
| |
This reverts commit d5e281743e55e1daa297fd8043b2d9b6e8e1bed2.
The makefile issue that caused the original build break
has been resolved.
|
|
|
|
|
|
|
|
| |
This reverts commit 81bf28ad31131815d0a36a43a0eca3c29aefdfcd.
Breaks build
Change-Id: I3f1562921ffe8fdbec36971dd65db398c27c92db
|
|
|
|
|
|
|
| |
The vast majority of cleaned up harmony tests
are now in harmony-tests/src/test/org/apache/harmony/tests/
Change-Id: I56c2e484ff434b5618cf6751d602ae9f0db96b30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
I've erred on the side of caution and treated possibly
broken tests as failures.
Change-Id: Iebb49e5cee11f6e514da70e6c6bc7ac97964b0aa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 10210999
Change-Id: Ie0686dae1e0b9dc016c1e99af8d9d4e146d73abd
|
|
|
|
|
|
|
| |
More obsolete stuff.
Bug: 10210892
Change-Id: I4a89a2439e38a173971a5b878430cb547d70871d
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 6964436
Change-Id: I9a6fd2ec589968743dc6727dad406057b328156d
|
|
|
|
| |
Change-Id: I2daff9fbb29f64366b24927824867ec40551ed83
|
|
|
|
|
| |
Change-Id: I1efb88af05a022e8b3efce57d96f2d6e085a5161
http://b/2585285
|
|
|
|
|
|
| |
Change-Id: I058daff4670945455385e3b3c7070ae6c6570940
OldStringBufferTest: don't assume a max heap size exists
URLEncoderTest: don't test exception priority
|
|
|
|
| |
Change-Id: I3ff901d56df34e29830efbcd6e5e2a619629a733
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Harmony" into gingerbread
Merge commit 'bf1bdd0ad12aabf9fbbbda30a938ce2b625d38c9'
* commit 'bf1bdd0ad12aabf9fbbbda30a938ce2b625d38c9':
Remove logging tests duplicated from Harmony
|
| |
| |
| |
| | |
Change-Id: I057552b555ee891810d4577b7359ed309d5c1611
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
Harmony." into gingerbread
Merge commit '6397c0c25ce2a972a8ba731448007bb9619b7a6d'
* commit '6397c0c25ce2a972a8ba731448007bb9619b7a6d':
Remove FormatterTest tests duplicated with Harmony.
|
| |
| |
| |
| | |
Change-Id: I9c95aac22b9df7efff6595e94700a17cfc5d3d7b
|