- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for IoTestCase (0.54 sec)
-
guava-tests/test/com/google/common/io/IoTestCase.java
/** * Base test case class for I/O tests. * * @author Chris Nokleberg * @author Colin Decker */ public abstract class IoTestCase extends TestCase { private static final Logger logger = Logger.getLogger(IoTestCase.class.getName()); static final String I18N = "\u00CE\u00F1\u0163\u00E9\u0072\u00F1\u00E5\u0163\u00EE\u00F6"
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
/** * Base test case class for I/O tests. * * @author Chris Nokleberg * @author Colin Decker */ public abstract class IoTestCase extends TestCase { private static final Logger logger = Logger.getLogger(IoTestCase.class.getName()); static final String I18N = "\u00CE\u00F1\u0163\u00E9\u0072\u00F1\u00E5\u0163\u00EE\u00F6"
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
} public static ByteSinkFactory fileByteSinkFactory() { return new FileByteSinkFactory(null); } public static ByteSinkFactory appendingFileByteSinkFactory() { String initialString = IoTestCase.ASCII + IoTestCase.I18N; return new FileByteSinkFactory(initialString.getBytes(UTF_8)); } public static CharSourceFactory fileCharSourceFactory() { return new FileCharSourceFactory(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
} public static ByteSinkFactory fileByteSinkFactory() { return new FileByteSinkFactory(null); } public static ByteSinkFactory appendingFileByteSinkFactory() { String initialString = IoTestCase.ASCII + IoTestCase.I18N; return new FileByteSinkFactory(initialString.getBytes(UTF_8)); } public static CharSourceFactory fileCharSourceFactory() { return new FileCharSourceFactory(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
import java.io.Writer; import java.util.EnumSet; /** * Tests for the default implementations of {@code CharSink} methods. * * @author Colin Decker */ public class CharSinkTest extends IoTestCase { private static final String STRING = ASCII + I18N; private TestCharSink sink; @Override public void setUp() { sink = new TestCharSink(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.5K 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)