- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testSlice_constrainedRange (0.26 sec)
-
guava-tests/test/com/google/common/io/ByteSourceTester.java
IllegalArgumentException.class, () -> source.slice(0, -1)); } // Test that you can not expand the readable data in a previously sliced ByteSource. public void testSlice_constrainedRange() throws IOException { long size = source.read().length; if (size >= 2) { ByteSource sliced = source.slice(1, size - 2); assertEquals(size - 2, sliced.read().length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.6K bytes - Viewed (0)