public void WindowAddFramePresentedCallback() { tlog.Debug(tag, $"WindowAddFramePresentedCallback START"); try { FrameCallbackType f1 = null; win.AddFramePresentedCallback(f1, 1); } catch (ArgumentNullException e) { tlog.Debug(tag, e.Message.ToString()); tlog.Debug(tag, $"WindowAddFramePresentedCallback END (OK)"); Assert.Pass("Caught ArgumentNullException : Passed!"); } }
public void WindowAddFramePresentedCallback() { tlog.Debug(tag, $"WindowAddFramePresentedCallback START"); try { FrameCallbackType f1 = null; myWin.AddFramePresentedCallback(f1, 1); } catch (Exception e) { Tizen.Log.Error(tag, "Caught Exception" + e.ToString()); Assert.Fail("Caught Exception" + e.ToString()); } tlog.Debug(tag, $"WindowAddFramePresentedCallback END (OK)"); Assert.Pass("WindowAddFramePresentedCallback"); }