public void NUIFrameComponentOnDestroy() { tlog.Debug(tag, $"NUIFrameComponentOnDestroy START"); var testingTarget = new MyNUIFrameComponent(); Assert.IsNotNull(testingTarget, "Should be not null."); Assert.IsInstanceOf <NUIFrameComponent>(testingTarget, "Should be an instance of NUIFrameComponent type."); try { testingTarget.MyOnDestroy(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } tlog.Debug(tag, $"NUIFrameComponentOnDestroy END (OK)"); }
public void NUIFrameComponentOnStart() { tlog.Debug(tag, $"NUIFrameComponentOnStart START"); var testingTarget = new MyNUIFrameComponent(); Assert.IsNotNull(testingTarget, "Should be not null."); Assert.IsInstanceOf <NUIFrameComponent>(testingTarget, "Should be an instance of NUIFrameComponent type."); try { Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl(true); testingTarget.MyOnStart(appControl, false); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } tlog.Debug(tag, $"NUIFrameComponentOnStart END (OK)"); }