public void RemoveTaskMenuItem() { var t = new TaskPlugin(); var m = t.CreateMainMenuItems()[0].DropDownItems; Assert.AreEqual("Remove Task", m[7].Text); //this order of menu item is required by Ribbon event handler }
public void ViewCalendarMenuItem() { var t = new TaskPlugin(); var m = t.CreateMainMenuItems()[0].DropDownItems; Assert.AreEqual("View Calendar", m[8].Text); //this order of menu item is required by Ribbon event handler }
public void DueNextQuarterMenuItem() { var t = new TaskPlugin(); var m = t.CreateMainMenuItems()[0].DropDownItems; Assert.AreEqual("Next Quarter", m[5].Text); //this order of menu item is required by Ribbon event handler }