- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for wasStreamClosed (0.07 sec)
-
guava-tests/test/com/google/common/io/CharSourceTest.java
assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); assertEquals(STRING, sink.getString()); } public void testRead_toString() throws IOException { assertEquals(STRING, source.read()); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); } public void testReadFirstLine() throws IOException { TestCharSource lines = new TestCharSource(LINES);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); assertEquals(STRING, sink.getString()); } public void testRead_toString() throws IOException { assertEquals(STRING, source.read()); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); } public void testReadFirstLine() throws IOException { TestCharSource lines = new TestCharSource(LINES);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestByteSink.java
} byte[] getBytes() { return bytes.toByteArray(); } @Override public boolean wasStreamOpened() { return outputStreamOpened; } @Override public boolean wasStreamClosed() { return outputStreamClosed; } @Override public OutputStream openStream() throws IOException { outputStreamOpened = true; bytes.reset(); // truncate return new Out(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestByteSource.java
this.options = ImmutableSet.copyOf(options); } @Override public boolean wasStreamOpened() { return inputStreamOpened; } @Override public boolean wasStreamClosed() { return inputStreamClosed; } @Override public InputStream openStream() throws IOException { inputStreamOpened = true; return new RandomAmountInputStream(new In(), new Random()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestByteSource.java
this.options = ImmutableSet.copyOf(options); } @Override public boolean wasStreamOpened() { return inputStreamOpened; } @Override public boolean wasStreamClosed() { return inputStreamClosed; } @Override public InputStream openStream() throws IOException { inputStreamOpened = true; return new RandomAmountInputStream(new In(), new Random()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0)