- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for TestOption (0.06 seconds)
-
android/guava-tests/test/com/google/common/io/TestOption.java
import org.jspecify.annotations.NullUnmarked; /** * Options controlling the behavior of sources/sinks/streams for testing. * * @author Colin Decker */ @NullUnmarked public enum TestOption { OPEN_THROWS, SKIP_THROWS, READ_THROWS, WRITE_THROWS, CLOSE_THROWS, AVAILABLE_ALWAYS_ZEROCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 931 bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestOption.java
import org.jspecify.annotations.NullUnmarked; /** * Options controlling the behavior of sources/sinks/streams for testing. * * @author Colin Decker */ @NullUnmarked public enum TestOption { OPEN_THROWS, SKIP_THROWS, READ_THROWS, WRITE_THROWS, CLOSE_THROWS, AVAILABLE_ALWAYS_ZEROCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 931 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
package com.google.common.io; import static com.google.common.base.StandardSystemProperty.LINE_SEPARATOR; import static com.google.common.io.TestOption.CLOSE_THROWS; import static com.google.common.io.TestOption.OPEN_THROWS; import static com.google.common.io.TestOption.READ_THROWS; import static com.google.common.io.TestOption.WRITE_THROWS; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
* limitations under the License. */ package com.google.common.io; import static com.google.common.io.TestOption.CLOSE_THROWS; import static com.google.common.io.TestOption.OPEN_THROWS; import static com.google.common.io.TestOption.READ_THROWS; import static com.google.common.io.TestOption.WRITE_THROWS; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertThrows;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestByteSink.java
private final ByteArrayOutputStream bytes = new ByteArrayOutputStream(); private final ImmutableSet<TestOption> options; private boolean outputStreamOpened; private boolean outputStreamClosed; public TestByteSink(TestOption... options) { this.options = ImmutableSet.copyOf(options); } byte[] getBytes() { return bytes.toByteArray(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
package com.google.common.io; import static com.google.common.collect.ImmutableList.toImmutableList; import static com.google.common.io.TestOption.CLOSE_THROWS; import static com.google.common.io.TestOption.OPEN_THROWS; import static com.google.common.io.TestOption.READ_THROWS; import static com.google.common.io.TestOption.WRITE_THROWS; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestCharSource.java
* * @author Colin Decker */ @NullUnmarked public class TestCharSource extends CharSource implements TestStreamSupplier { private final TestByteSource byteSource; public TestCharSource(String content, TestOption... options) { this.byteSource = new TestByteSource(content.getBytes(UTF_8), options); } @Override public boolean wasStreamOpened() { return byteSource.wasStreamOpened(); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
package com.google.common.io; import static com.google.common.collect.ImmutableList.toImmutableList; import static com.google.common.io.TestOption.CLOSE_THROWS; import static com.google.common.io.TestOption.OPEN_THROWS; import static com.google.common.io.TestOption.READ_THROWS; import static com.google.common.io.TestOption.WRITE_THROWS; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 11.5K bytes - Click Count (0) -
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); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 2K bytes - Click Count (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); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 2K bytes - Click Count (0)