Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCopy_toWriter_fromReader (0.28 sec)

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

        copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(I18N)), builder2);
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toWriter_fromReader() throws IOException {
        StringWriter writer = new StringWriter();
        long copied = CharStreams.copy(new StringReader(ASCII), writer);
        assertEquals(ASCII, writer.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(I18N)), builder2);
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toWriter_fromReader() throws IOException {
        StringWriter writer = new StringWriter();
        long copied = CharStreams.copy(new StringReader(ASCII), writer);
        assertEquals(ASCII, writer.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top