Ejemplo n.º 1
0
        public void TestUpdate()
        {
            try
            {
                Saved_Task.GetUpdate("updatedTask1", "updateedDes", null).Invoke(1);

                iTask task2 = Task.GetTaskByID(Saved_Task.getID());
                Assert.AreEqual(task2.getTitle(), "updatedTask1");
            }
            catch (MileStone4.AlmogException ex)
            {
                Assert.Fail((String)ex.Value, new object[] { ex });
            }
            catch (Exception e)
            {
                Assert.Fail(e.Message, new object[] { e });
            }
        }
Ejemplo n.º 2
0
        public static void UpdateNewTask(String Title, String Description, DateTime?DueDate, int column_id, int ID)
        {
            iTask task = Task.GetTaskByID(ID);

            task.GetUpdate(Title, Description, DueDate).Invoke(column_id);
        }