Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCloseFlush (0.11 sec)

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

        writer.append("Hello,");
        writer.append(' ');
        writer.append("The World Wide Web", 4, 9);
        writer.append("!");
    
        assertEquals("Hello, World!", builder.toString());
      }
    
      public void testCloseFlush() throws IOException {
        SpyAppendable spy = new SpyAppendable();
        Writer writer = new AppendableWriter(spy);
    
        writer.write("Hello");
        assertFalse(spy.flushed);
        assertFalse(spy.closed);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top