- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for TestOption (1.31 sec)
-
android/guava-tests/test/com/google/common/io/TestByteSource.java
@NullUnmarked public final class TestByteSource extends ByteSource implements TestStreamSupplier { private final byte[] bytes; private final ImmutableSet<TestOption> options; private boolean inputStreamOpened; private boolean inputStreamClosed; TestByteSource(byte[] bytes, TestOption... options) { this.bytes = checkNotNull(bytes); this.options = ImmutableSet.copyOf(options); } @Override
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
@NullUnmarked public final class TestByteSource extends ByteSource implements TestStreamSupplier { private final byte[] bytes; private final ImmutableSet<TestOption> options; private boolean inputStreamOpened; private boolean inputStreamClosed; TestByteSource(byte[] bytes, TestOption... options) { this.bytes = checkNotNull(bytes); this.options = ImmutableSet.copyOf(options); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloseablesTest.java
TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); Closeables.closeQuietly(in); assertTrue(in.closed()); } public void testCloseQuietly_readerWithEatenException() throws IOException { TestReader in = new TestReader(TestOption.CLOSE_THROWS); Closeables.closeQuietly(in); assertTrue(in.closed()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestReader.java
import org.jspecify.annotations.NullUnmarked; /** * @author Colin Decker */ @NullUnmarked public class TestReader extends FilterReader { private final TestInputStream in; public TestReader(TestOption... options) throws IOException { this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options)); } public TestReader(TestInputStream in) { super(new InputStreamReader(checkNotNull(in), UTF_8));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestReader.java
import org.jspecify.annotations.NullUnmarked; /** * @author Colin Decker */ @NullUnmarked public class TestReader extends FilterReader { private final TestInputStream in; public TestReader(TestOption... options) throws IOException { this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options)); } public TestReader(TestInputStream in) { super(new InputStreamReader(checkNotNull(in), UTF_8));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.4K bytes - Viewed (0)