- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 28 for IoTestCase (0.1 sec)
-
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
import java.io.OutputStream; import java.util.EnumSet; /** * Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
import java.io.IOException; import java.io.InputStream; /** * Unit tests for {@link CountingInputStream}. * * @author Chris Nokleberg */ public class CountingInputStreamTest extends IoTestCase { private CountingInputStream counter; @Override protected void setUp() throws Exception { super.setUp(); counter = new CountingInputStream(new ByteArrayInputStream(new byte[20])); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
import java.io.OutputStream; import java.util.EnumSet; /** * Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
import java.io.InputStream; import java.util.Collections; import java.util.List; /** * Test class for {@link MultiInputStream}. * * @author Chris Nokleberg */ public class MultiInputStreamTest extends IoTestCase { public void testJoin() throws Exception { joinHelper(0); joinHelper(1); joinHelper(0, 0, 0); joinHelper(10, 20); joinHelper(10, 0, 20); joinHelper(0, 10, 20);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
import java.io.InputStream; import java.util.Collections; import java.util.List; /** * Test class for {@link MultiInputStream}. * * @author Chris Nokleberg */ public class MultiInputStreamTest extends IoTestCase { public void testJoin() throws Exception { joinHelper(0); joinHelper(1); joinHelper(0, 0, 0); joinHelper(10, 20); joinHelper(10, 0, 20); joinHelper(0, 10, 20);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
import java.util.ArrayList; import java.util.List; import junit.framework.TestSuite; /** * Unit test for {@link Resources}. * * @author Chris Nokleberg */ public class ResourcesTest extends IoTestCase { @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
import java.util.List; /** * Unit tests for {@link LineBuffer} and {@link LineReader}. * * @author Chris Nokleberg */ @AndroidIncompatible // occasionally very slow public class LineBufferTest extends IoTestCase { public void testProcess() throws IOException { bufferHelper(""); bufferHelper("\n", "\n"); bufferHelper("\r\n", "\r\n"); bufferHelper("\n\r", "\n", "\r"); bufferHelper("\r", "\r");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
import java.util.List; /** * Unit tests for {@link LineBuffer} and {@link LineReader}. * * @author Chris Nokleberg */ @AndroidIncompatible // occasionally very slow public class LineBufferTest extends IoTestCase { public void testProcess() throws IOException { bufferHelper(""); bufferHelper("\n", "\n"); bufferHelper("\r\n", "\r\n"); bufferHelper("\n\r", "\n", "\r"); bufferHelper("\r", "\r");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
* * <p>For a tiny bit more testing, see {@link FileBackedOutputStreamAndroidIncompatibleTest}. * * @author Chris Nokleberg */ public class FileBackedOutputStreamTest extends IoTestCase { public void testThreshold() throws Exception { testThreshold(0, 100, true, false); testThreshold(10, 100, true, false); testThreshold(100, 100, true, false);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for the default implementations of {@code ByteSource} methods. * * @author Colin Decker */ public class ByteSourceTest extends IoTestCase { @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors. public static TestSuite suite() { TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0)