Home
last modified time | relevance | path

Searched refs:INPUT_LENGTH (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/util/zip/
DCloseInflaterDeflaterTest.java51 private static final int INPUT_LENGTH= 512; field in CloseInflaterDeflaterTest
75 private static byte[] inputBytes = new byte[INPUT_LENGTH];
123 gzip.write(inputBytes, 0, INPUT_LENGTH); in testGZip()
133 assertThrows(NullPointerException.class , () -> gzip.write(inputBytes, 0, INPUT_LENGTH)); in testGZip()
145 assertThrows(IOException.class , () -> def.write(inputBytes, 0, INPUT_LENGTH)); in testDeflaterOutputStream()
155 assertThrows(NullPointerException.class , () -> def.write(inputBytes, 0, INPUT_LENGTH)); in testDeflaterOutputStream()
166 assertThrows(IOException.class , () -> def.read(inputBytes, 0, INPUT_LENGTH)); in testDeflaterInputStream()
170 assertThrows(IOException.class , () -> def.read(inputBytes, 0, INPUT_LENGTH)); in testDeflaterInputStream()
183 assertThrows(IOException.class , () -> inf.write(inputBytes, 0, INPUT_LENGTH)); in testInflaterOutputStream()
193 assertThrows(IOException.class , () -> inf.write(inputBytes, 0, INPUT_LENGTH)); in testInflaterOutputStream()
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DOldFilterInputStreamTest.java43 private static final int INPUT_LENGTH = INPUT.length(); field in OldFilterInputStreamTest
60 INPUT_LENGTH, is.available()); in test_available()