Exemplo n.º 1
0
        public void EXamlSetPropertyActionConstructor()
        {
            tlog.Debug(tag, $"EXamlSetPropertyActionConstructor START");

            var testingTarget = new Tizen.NUI.EXaml.SetPropertyAction(new Tizen.NUI.EXaml.GlobalDataList(), null);

            Assert.IsNotNull(testingTarget, "Can't create success object SetPropertyAction");
            Assert.IsInstanceOf <Tizen.NUI.EXaml.SetPropertyAction>(testingTarget, "Should be an instance of SetPropertyAction type.");

            tlog.Debug(tag, $"EXamlSetPropertyActionConstructor END (OK)");
        }
Exemplo n.º 2
0
        public void EXamlSetPropertyActionInit()
        {
            tlog.Debug(tag, $"EXamlSetPropertyActionInit START");

            var testingTarget = new Tizen.NUI.EXaml.SetPropertyAction(new Tizen.NUI.EXaml.GlobalDataList(), null);

            Assert.IsNotNull(testingTarget, "Can't create success object SetPropertyAction");
            Assert.IsInstanceOf <Tizen.NUI.EXaml.SetPropertyAction>(testingTarget, "Should be an instance of SetPropertyAction type.");

            try
            {
                testingTarget.Init();
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

            tlog.Debug(tag, $"EXamlSetPropertyActionInit END (OK)");
        }