package guitests;

import static org.junit.Assert.assertTrue;

import org.junit.Test;

import seedu.taskmanager.commons.core.Messages;

public class ListeventCommandTest extends TaskManagerGuiTest {
	
	
	@Test
	public void ListEventCommand() {
		commandBox.runCommand("listevent");
		assertListSize(4);	
	}
	
	@Test
    public void find_invalidCommand5_fail() {
        commandBox.runCommand("listevents");
        assertResultMessage(Messages.MESSAGE_UNKNOWN_COMMAND);
    }
	
	
	
	private void assertListdeadlineCommandSuccess() {
        commandBox.runCommand("listevent");
        assertResultMessage("Listed all events");
    }

}

@@ -54,16 +54,100 @@
 ertTrue;
+%0Aimport static seedu.taskmanager.logic.commands.ListEventCommand.SHORT_COMMAND_WORD;
 %0A%0Aimport
@@ -381,16 +381,88 @@
 ze(4);%09%0A
+%09%09commandBox.runCommand(SHORT_COMMAND_WORD);%0A        assertListSize(4);%0A
 %09%7D%0A%09%0A%09@T

Update ListeventCommandTest to cover SHORT_COMMAND_WORD