示例#1
0
 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.");
 }
示例#2
0
 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.");
 }
示例#3
0
 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");
 }
示例#4
0
 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.");
 }