Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for IoTestCase (0.21 sec)

  1. 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(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

    import java.io.File;
    import java.io.IOException;
    
    /**
     * Tests for {@link Files#fileTraverser()}.
     *
     * @author Jens Nyman
     */
    
    public class FilesFileTraverserTest extends IoTestCase {
    
      private File rootDir;
    
      @Override
      public void setUp() throws IOException {
        rootDir = createTempDir();
      }
    
      public void testFileTraverser_emptyDirectory() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Apr 21 20:17:27 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. 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);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/AppendableWriterTest.java

    import java.io.Flushable;
    import java.io.IOException;
    import java.io.Writer;
    
    /**
     * Unit test for {@link AppendableWriter}.
     *
     * @author Alan Green
     */
    public class AppendableWriterTest extends IoTestCase {
    
      /** Helper class for testing behavior with Flushable and Closeable targets. */
      private static class SpyAppendable implements Appendable, Flushable, Closeable {
        boolean flushed;
        boolean closed;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. 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]));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  6. 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");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

    import java.io.ByteArrayOutputStream;
    
    /**
     * Unit tests for {@link CountingOutputStream}.
     *
     * @author Chris Nokleberg
     */
    public class CountingOutputStreamTest extends IoTestCase {
    
      public void testCount() throws Exception {
        int written = 0;
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        CountingOutputStream counter = new CountingOutputStream(out);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

    import java.io.ByteArrayOutputStream;
    
    /**
     * Unit tests for {@link CountingOutputStream}.
     *
     * @author Chris Nokleberg
     */
    public class CountingOutputStreamTest extends IoTestCase {
    
      public void testCount() throws Exception {
        int written = 0;
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        CountingOutputStream counter = new CountingOutputStream(out);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. 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(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

    import java.io.Flushable;
    import java.io.IOException;
    import java.io.Writer;
    
    /**
     * Unit test for {@link AppendableWriter}.
     *
     * @author Alan Green
     */
    public class AppendableWriterTest extends IoTestCase {
    
      /** Helper class for testing behavior with Flushable and Closeable targets. */
      private static class SpyAppendable implements Appendable, Flushable, Closeable {
        boolean flushed;
        boolean closed;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top