Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for IoTestCase (0.19 sec)

  1. android/guava-tests/test/com/google/common/io/LineBufferTest.java

    /**
     * Unit tests for {@link LineBuffer} and {@link LineReader}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // occasionally very slow
    @NullUnmarked
    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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

     *
     * <p>For a tiny bit more testing, see {@link FileBackedOutputStreamAndroidIncompatibleTest}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/LineBufferTest.java

    /**
     * Unit tests for {@link LineBuffer} and {@link LineReader}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // occasionally very slow
    @NullUnmarked
    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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ResourcesTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Resources}.
     *
     * @author Chris Nokleberg
     */
    
    @NullUnmarked
    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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

     * </ul>
     *
     * @author Chris Nokleberg
     */
    
    @SuppressWarnings("InlineMeInliner") // many tests of deprecated methods
    @NullUnmarked
    public class FilesTest extends IoTestCase {
    
      @AndroidIncompatible // suites, ByteSourceTester (b/230620681)
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ByteSourceTester.tests(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link CharStreams}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class CharStreamsTest extends IoTestCase {
    
      private static final String TEXT = "The quick brown fox jumped over the lazy dog.";
    
      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharStreamsTest.java

    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link CharStreams}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class CharStreamsTest extends IoTestCase {
    
      private static final String TEXT = "The quick brown fox jumped over the lazy dog.";
    
      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesTest.java

     * </ul>
     *
     * @author Chris Nokleberg
     */
    
    @SuppressWarnings("InlineMeInliner") // many tests of deprecated methods
    @NullUnmarked
    public class FilesTest extends IoTestCase {
    
      @AndroidIncompatible // suites, ByteSourceTester (b/230620681)
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ByteSourceTester.tests(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top