public void DeleteTest() { ITaskRepository taskrepository = null; // TODO: Initialize to an appropriate value IUserRepository userrepository = null; // TODO: Initialize to an appropriate value TaskController target = new TaskController(taskrepository, userrepository); // TODO: Initialize to an appropriate value int taskid = 0; // TODO: Initialize to an appropriate value string expected = string.Empty; // TODO: Initialize to an appropriate value string actual; actual = target.Delete(taskid); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void AddTest() { ITaskRepository taskrepository = null; // TODO: Initialize to an appropriate value IUserRepository userrepository = null; // TODO: Initialize to an appropriate value TaskController target = new TaskController(taskrepository, userrepository); // TODO: Initialize to an appropriate value Task t = null; // TODO: Initialize to an appropriate value JsonResult expected = null; // TODO: Initialize to an appropriate value JsonResult actual; actual = target.Add(t); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void TaskControllerConstructorTest() { ITaskRepository taskrepository = null; // TODO: Initialize to an appropriate value IUserRepository userrepository = null; // TODO: Initialize to an appropriate value TaskController target = new TaskController(taskrepository, userrepository); Assert.Inconclusive("TODO: Implement code to verify target"); }
public void IndexTest() { ITaskRepository taskrepository = null; // TODO: Initialize to an appropriate value IUserRepository userrepository = null; // TODO: Initialize to an appropriate value TaskController target = new TaskController(taskrepository, userrepository); // TODO: Initialize to an appropriate value Nullable<int> page = new Nullable<int>(); // TODO: Initialize to an appropriate value ActionResult expected = null; // TODO: Initialize to an appropriate value ActionResult actual; actual = target.Index(page); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }