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;
 }
Esempio n. 4
0
 public MarkTaskCommand(ToDoApplication toDoApplication)
     : base("Mark")
 {
     mApplication = toDoApplication;
 }
Esempio n. 5
0
 public UpdateDescriptionTaskCommand(ToDoApplication toDoApplication)
     : base("Update Description")
 {
     mApplication = toDoApplication;
 }
 public ReorderTaskCommand(ToDoApplication toDoApplication)
     : base("Reorder")
 {
     mApplication = toDoApplication;
 }
Esempio n. 7
0
 public CreateTaskCommand(ToDoApplication toDoApplication)
     : base("Create")
 {
     mApplication = toDoApplication;
 }
Esempio n. 8
0
 public ChangeTaskTagsCommand(ToDoApplication toDoApplication)
     : base("Change tags")
 {
     mApplication = toDoApplication;
 }
Esempio n. 9
0
 public BackCommand(ToDoApplication todoapplication) : base("Back")
 {
     mApplication = todoapplication;
 }
Esempio n. 10
0
 public ViewCompletedTaskCommand(ToDoApplication toDoApplication)
     : base("View Completed")
 {
     mApplication = toDoApplication;
 }
Esempio n. 11
0
 public RenameTaskCommand(ToDoApplication toDoApplication)
     : base("Rename")
 {
     mApplication = toDoApplication;
 }
        public void WhenNewObjectIsCreated()
        {
            ToDoApplication toDoApplication = new ToDoApplication();

            Assert.AreEqual(toDoApplication.LastCommitSha, LastCommitSha);
        }
Esempio n. 13
0
 public DeleteTaskCommand(ToDoApplication toDoApplication)
     : base("Delete")
 {
     mApplication = toDoApplication;
 }
 public RefreshTasksCommand(ToDoApplication Application)
     : base("Refresh")
 {
     mApplication = Application;
 }
Esempio n. 15
0
 public void SetUp()
 {
     toDoApplication = new ToDoApplication(null, null, null);
 }
Esempio n. 16
0
 public ListTaskCommand(ToDoApplication toDoApplication)
     : base("List")
 {
     mApplication = toDoApplication;
 }
Esempio n. 17
0
 public MoveTaskCommand(ToDoApplication toDoApplication)
     : base("Move")
 {
     mApplication = toDoApplication;
 }
Esempio n. 18
0
 public ClearTaskCommand(ToDoApplication toDoApplication)
     : base("Clear")
 {
     mApplication = toDoApplication;
 }
Esempio n. 19
0
 public ViewTagsCommand(ToDoApplication toDoApplication)
     : base("View Tags")
 {
     mApplication = toDoApplication;
 }
Esempio n. 20
0
 public ViewUnfinishedTaskCommand(ToDoApplication toDoApplication)
     : base("View Unfinished")
 {
     mApplication = toDoApplication;
 }