Lines Matching defs:supplier
82 InputSupplier<InputStream> supplier = out.getSupplier();
90 ByteStreams.newInputStreamSupplier(data, 0, chunk1), supplier));
104 // Check that supplier returns the right data
105 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier)));
132 InputSupplier<InputStream> supplier = out.getSupplier();
135 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier)));
146 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier)));
153 InputSupplier<InputStream> supplier = out.getSupplier();
156 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier)));
159 assertTrue(Arrays.equals(new byte[0], ByteStreams.toByteArray(supplier)));
162 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier)));