public void SetUp() { userVerifier = new Mock<IUserVerifier>(); toDoListCreator = new Mock<IToDoListCreator>(); toDoListRepository = new Mock<IToDoListRepository>(); toDoApplication = new ToDoApplication(userVerifier.Object, toDoListCreator.Object, toDoListRepository.Object); }
public ImportTaskCommand(ToDoApplication toDoApplication) : base("Import") { mApplication = toDoApplication; }
public ViewAllTaskCommand(ToDoApplication toDoApplication) : base("View All") { mApplication = toDoApplication; }
public MarkTaskCommand(ToDoApplication toDoApplication) : base("Mark") { mApplication = toDoApplication; }
public UpdateDescriptionTaskCommand(ToDoApplication toDoApplication) : base("Update Description") { mApplication = toDoApplication; }
public ReorderTaskCommand(ToDoApplication toDoApplication) : base("Reorder") { mApplication = toDoApplication; }
public CreateTaskCommand(ToDoApplication toDoApplication) : base("Create") { mApplication = toDoApplication; }
public ChangeTaskTagsCommand(ToDoApplication toDoApplication) : base("Change tags") { mApplication = toDoApplication; }
public BackCommand(ToDoApplication todoapplication) : base("Back") { mApplication = todoapplication; }
public ViewCompletedTaskCommand(ToDoApplication toDoApplication) : base("View Completed") { mApplication = toDoApplication; }
public RenameTaskCommand(ToDoApplication toDoApplication) : base("Rename") { mApplication = toDoApplication; }
public void WhenNewObjectIsCreated() { ToDoApplication toDoApplication = new ToDoApplication(); Assert.AreEqual(toDoApplication.LastCommitSha, LastCommitSha); }
public DeleteTaskCommand(ToDoApplication toDoApplication) : base("Delete") { mApplication = toDoApplication; }
public RefreshTasksCommand(ToDoApplication Application) : base("Refresh") { mApplication = Application; }
public void SetUp() { toDoApplication = new ToDoApplication(null, null, null); }
public ListTaskCommand(ToDoApplication toDoApplication) : base("List") { mApplication = toDoApplication; }
public MoveTaskCommand(ToDoApplication toDoApplication) : base("Move") { mApplication = toDoApplication; }
public ClearTaskCommand(ToDoApplication toDoApplication) : base("Clear") { mApplication = toDoApplication; }
public ViewTagsCommand(ToDoApplication toDoApplication) : base("View Tags") { mApplication = toDoApplication; }
public ViewUnfinishedTaskCommand(ToDoApplication toDoApplication) : base("View Unfinished") { mApplication = toDoApplication; }