History log of /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/DeflaterInputStreamTest.java
Revision Date Author Comments
ab646c8866f5bf4bfaeb811c7dce434e130eb44e 19-Dec-2013 Narayan Kamath <narayan@google.com> Fix a brain dead mistake in DeflaterInputStreamTest.

Removal of debug code gone bad.

Change-Id: I93d9decbd9d733cbeccd7832fef6857cf1b41b25
14dade3dfbf9933fd179af0d5f1f87ae6f608418 17-Dec-2013 Narayan Kamath <narayan@google.com> Make DeflaterInputStream#available more consistent.

- 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
d567f9025c4b94fc5e9b47f5702c1b48c2a45c96 17-Dec-2013 Narayan Kamath <narayan@google.com> Move tests from harmony/archive to libcore.

Also moves a couple of tests from luni/src/test to
harmony-tests/ where they belong.

Change-Id: I0b441b1fcbd355bd3c66551d16732a671fb64f54