public void FrameUpdateCallbackInterfaceConstructor()
        {
            tlog.Debug(tag, $"FrameUpdateCallbackInterfaceConstructor START");

            var testingTarget = new FrameUpdateCallbackInterface();

            Assert.IsNotNull(testingTarget, "Can't create success object FrameUpdateCallbackInterface");
            Assert.IsInstanceOf <FrameUpdateCallbackInterface>(testingTarget, "Should return FrameUpdateCallbackInterface instance.");

            testingTarget.Dispose();
            tlog.Debug(tag, $"FrameUpdateCallbackInterfaceConstructor END (OK)");
        }
Пример #2
0
        public void WindowRemoveFrameUpdateCallback()
        {
            tlog.Debug(tag, $"WindowRemoveFrameUpdateCallback START");
            try
            {
                FrameUpdateCallbackInterface f1 = new FrameUpdateCallbackInterface();
                win.RemoveFrameUpdateCallback(f1);
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

            tlog.Debug(tag, $"WindowRemoveFrameUpdateCallback END (OK)");
        }
Пример #3
0
        public void WindowRemoveFrameUpdateCallback()
        {
            tlog.Debug(tag, $"WindowRemoveFrameUpdateCallback START");
            try
            {
                FrameUpdateCallbackInterface f1 = new FrameUpdateCallbackInterface();
                myWin.RemoveFrameUpdateCallback(f1);
            }
            catch (Exception e)
            {
                Tizen.Log.Error(tag, "Caught Exception" + e.ToString());

                Assert.Fail("Caught Exception" + e.ToString());
            }
            tlog.Debug(tag, $"WindowRemoveFrameUpdateCallback END (OK)");
            Assert.Pass("WindowRemoveFrameUpdateCallback");
        }