package guitests;

import org.junit.Test;

import seedu.tasklist.testutil.TypicalTestTasks;

//@@author A0153837X
public class TimeCommandTest extends TaskListGuiTest{
	
	@Test
    public void time(){
	    commandBox.runCommand("list");
	    
		//Overdue Task
		commandBox.runCommand("time 1");
        assertResultMessage("Task is overdue!");
		
        //Task with no endDate
        commandBox.runCommand("add meeting");
		commandBox.runCommand("time 8");
        assertResultMessage("Task has no date time specification!");
        
	}
}
package guitests;

import org.junit.Test;

//@@author A0153837X
public class TimeCommandTest extends TaskListGuiTest{
	
	@Test
    public void time(){
	    commandBox.runCommand("list");
	    
		//Overdue Task
		commandBox.runCommand("time 1");
        assertResultMessage("Task is overdue!");
		
        //Task with no endDate
        commandBox.runCommand("add meeting");
		commandBox.runCommand("time 8");
        assertResultMessage("Task has no date time specification!");
        
	}
}
remove unused import