public void NUIFrameComponentWindow() { tlog.Debug(tag, $"NUIFrameComponentWindow START"); var testingTarget = new NUIFrameComponent(); Assert.IsNotNull(testingTarget, "Should be not null."); Assert.IsInstanceOf <NUIFrameComponent>(testingTarget, "Should be an instance of NUIFrameComponent type."); testingTarget.Window = new Window(new Rectangle(0, 0, 1920, 1080), false); tlog.Debug(tag, "testingTarget.Window : " + testingTarget.Window); Assert.IsNotNull(testingTarget.Window); tlog.Debug(tag, $"NUIFrameComponentWindow END (OK)"); }
public void NUIFrameComponentNUIWindowInfo() { tlog.Debug(tag, $"NUIFrameComponentNUIWindowInfo START"); var testingTarget = new NUIFrameComponent(); Assert.IsNotNull(testingTarget, "Should be not null."); Assert.IsInstanceOf <NUIFrameComponent>(testingTarget, "Should be an instance of NUIFrameComponent type."); testingTarget.NUIWindowInfo = new NUIWindowInfo(Window.Instance); tlog.Debug(tag, "testingTarget.NUIWindowInfo : " + testingTarget.NUIWindowInfo); Assert.IsNotNull(testingTarget.NUIWindowInfo); tlog.Debug(tag, $"NUIFrameComponentNUIWindowInfo END (OK)"); }
public void NUIFrameComponentWindow() { tlog.Debug(tag, $"NUIFrameComponentWindow START"); var testingTarget = new NUIFrameComponent(); Assert.IsNotNull(testingTarget, "Should be not null."); Assert.IsInstanceOf <NUIFrameComponent>(testingTarget, "Should be an instance of NUIFrameComponent type."); try { testingTarget.Window = NUIApplication.GetDefaultWindow(); tlog.Debug(tag, "Window :" + testingTarget.Window); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } tlog.Debug(tag, $"NUIFrameComponentWindow END (OK)"); }
public void NUIFrameComponentCreateWindowInfo() { tlog.Debug(tag, $"NUIFrameComponentCreateWindowInfo START"); var testingTarget = new NUIFrameComponent(); Assert.IsNotNull(testingTarget, "Should be not null."); Assert.IsInstanceOf <NUIFrameComponent>(testingTarget, "Should be an instance of NUIFrameComponent type."); try { testingTarget.NUIWindowInfo = new NUIWindowInfo(Window.Instance); testingTarget.Window = new Window(new Rectangle(0, 0, 1920, 1080), false); testingTarget.CreateWindowInfo(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } tlog.Debug(tag, $"NUIFrameComponentCreateWindowInfo END (OK)"); }