Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCopyTo_outputStream (0.09 sec)

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

        } finally {
          in.close();
        }
      }
    
      public void testRead() throws IOException {
        byte[] readBytes = source.read();
        assertExpectedBytes(readBytes);
      }
    
      public void testCopyTo_outputStream() throws IOException {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        source.copyTo(out);
        assertExpectedBytes(out.toByteArray());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top