Beispiel #1
0
 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
 }
Beispiel #2
0
 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
 }
Beispiel #3
0
 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
 }