Browse Source

test_testNoInputEntered hinzugefügt

remotes/origin/server
Paul Kattenborn 11 months ago
parent
commit
3023256ad9
  1. 10
      src/test/java/ChatGUITest.java

10
src/test/java/ChatGUITest.java

@ -107,6 +107,14 @@ public class ChatGUITest {
chatGUI.sendPopupMessage(testMessage); chatGUI.sendPopupMessage(testMessage);
} }
}
@Test
public void testNoInputEntered() {
chatGUI.inputTextField.setText("");
chatGUI.sendButton.doClick();
assertEquals("", chatGUI.outputTextArea.getText());
}
}
Loading…
Cancel
Save