public void CreateCornerMenusTest() { // Test the two menu scenario CornerMenusMgr_Accessor target1 = new CornerMenusMgr_Accessor(); target1.MenuType = CornerMenusMgr.CornerMenuType.TwoCornerMenus; target1.CreateCornerMenus(); Assert.AreEqual(target1.MenuType, CornerMenusMgr.CornerMenuType.TwoCornerMenus); Assert.IsNotNull(target1.FunctionMenuUpperRight); Assert.IsNotNull(target1.FunctionMenuBottomLeft); Assert.IsNull(target1.FunctionMenuUpperLeft); Assert.IsNull(target1.FunctionMenuBottomRight); // Test the 4 menu scenario CornerMenusMgr_Accessor target2 = new CornerMenusMgr_Accessor(); target2.MenuType = CornerMenusMgr.CornerMenuType.FourCornerMenus; target2.CreateCornerMenus(); Assert.AreEqual(target2.MenuType, CornerMenusMgr.CornerMenuType.FourCornerMenus); Assert.IsNotNull(target2.FunctionMenuUpperRight); Assert.IsNotNull(target2.FunctionMenuBottomLeft); Assert.IsNotNull(target2.FunctionMenuUpperLeft); Assert.IsNotNull(target2.FunctionMenuBottomRight); }
public void isExitDialogVisibleTest() { CornerMenusMgr_Accessor target = new CornerMenusMgr_Accessor(); // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.isExitDialogVisible(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void CreateExitDialogsTest() { CornerMenusMgr_Accessor target = new CornerMenusMgr_Accessor(); // TODO: Initialize to an appropriate value target.CreateExitDialogs(); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void CornerMenusMgrConstructorTest() { CornerMenusMgr_Accessor target = new CornerMenusMgr_Accessor(); // nothing to test }
public void showExitMenuTest() { CornerMenusMgr_Accessor target = new CornerMenusMgr_Accessor(); // TODO: Initialize to an appropriate value double orientation = 0F; // TODO: Initialize to an appropriate value CornerMenu.CornerMenuLocation location = new CornerMenu.CornerMenuLocation(); // TODO: Initialize to an appropriate value target.showExitMenu(orientation, location); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void setLayoutRootTest() { CornerMenusMgr_Accessor target = new CornerMenusMgr_Accessor(); // TODO: Initialize to an appropriate value Canvas LayoutRoot = null; // TODO: Initialize to an appropriate value target.setLayoutRoot(LayoutRoot); Assert.Inconclusive("A method that does not return a value cannot be verified."); }