Code example for CharArrayWriter

Methods: size

0
 
    /** 
     * @tests java.io.CharArrayWriter#CharArrayWriter(int) 
     */ 
    public void test_ConstructorI() { 
        cw = new CharArrayWriter();
        assertEquals("Created incorrect writer", 0, cw.size());
    } 
 
    /** 
     * @tests java.io.CharArrayWriter#close() 
     */ 
    public void test_close() { 
        cw.close();
    } 
 
    /** 
     * @tests java.io.CharArrayWriter#flush() 
     */ 
    public void test_flush() { 
        cw.flush();