Esempio n. 1
0
        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!");
            }
        }
Esempio n. 2
0
        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");
        }