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