Browse Source

test_weiterer Test

remotes/origin/server
Paul Kattenborn 11 months ago
parent
commit
971ec214b6
  1. 6
      src/test/java/ChatGUITest.java

6
src/test/java/ChatGUITest.java

@ -18,5 +18,11 @@ public class ChatGUITest {
chatGUI.actionPerformed(new TestActionEvent(chatGUI.red));
assertEquals(Color.RED, chatGUI.outputTextArea.getForeground());
}
@Test
public void testSetOutputTextColorBlue() {
chatGUI.actionPerformed(new TestActionEvent(chatGUI.blue));
assertEquals(Color.BLUE, chatGUI.outputTextArea.getForeground());
}
}
Loading…
Cancel
Save