package guitests;

import static org.junit.Assert.assertTrue;

import org.junit.Test;

import seedu.taskmanager.commons.core.Messages;

public class ListdeadlineCommandTest extends TaskManagerGuiTest {
	
	
	@Test
	public void ListDeadlineCommand() {
		commandBox.runCommand("listdeadline");
		assertListSize(3);
		
	}
	
	@Test
    public void find_invalidCommand3_fail() {
        commandBox.runCommand("listdeadlines");
        assertResultMessage(Messages.MESSAGE_UNKNOWN_COMMAND);
    }
	
	
	
	private void assertListdeadlineCommandSuccess() {
        commandBox.runCommand("listdeadline");
        assertResultMessage("Listed all deadline");
    }

}

@@ -54,16 +54,103 @@
 ertTrue;
+%0Aimport static seedu.taskmanager.logic.commands.ListDeadlineCommand.SHORT_COMMAND_WORD;
 %0A%0Aimport
@@ -394,16 +394,85 @@
 e(3);%0A%09%09
+commandBox.runCommand(SHORT_COMMAND_WORD);%0A        assertListSize(3);
 %0A%09%7D%0A%09%0A%09@

Update ListdeadlineCommandTest to cover SHORT_COMMAND_WORD