/*
  * Test method for 'java.awt.TextArea.TextArea(String, int, int, int)'
  */
 public void testTextAreaStringIntIntInt() {
   String text = "text";
   int cols = 12;
   int rows = 5;
   int scrollbars = TextArea.SCROLLBARS_NONE;
   area = new TextArea(text, rows, cols, scrollbars);
   assertEquals(text, area.getText());
   assertEquals(cols, area.getColumns());
   assertEquals(rows, area.getRows());
   assertEquals(scrollbars, area.getScrollbarVisibility());
   scrollbars = -1;
   area = new TextArea(text, rows, cols, scrollbars);
   assertEquals(TextArea.SCROLLBARS_BOTH, area.getScrollbarVisibility());
 }
 /*
  * Test method for 'java.awt.TextArea.TextArea()'
  */
 public void testTextArea() {
   assertNotNull(area);
   assertEquals("", area.getText());
   assertEquals(0, area.getColumns());
   assertEquals(0, area.getRows());
   assertEquals(TextArea.SCROLLBARS_BOTH, area.getScrollbarVisibility());
 }
 /*
  * Test method for 'java.awt.TextArea.TextArea(String)'
  */
 public void testTextAreaString() {
   String text = "text";
   area = new TextArea(text);
   assertEquals(text, area.getText());
   assertEquals(0, area.getColumns());
   assertEquals(0, area.getRows());
   assertEquals(TextArea.SCROLLBARS_BOTH, area.getScrollbarVisibility());
   area = new TextArea(text = null);
   assertEquals("", area.getText());
 }
 /*
  * Test method for 'java.awt.TextArea.getScrollbarVisibility()'
  */
 public void testGetScrollbarVisibility() {
   assertEquals(TextArea.SCROLLBARS_BOTH, area.getScrollbarVisibility());
 }