コード例 #1
0
        public void EXamlGetObjectByPropertyActionConstructor()
        {
            tlog.Debug(tag, $"EXamlGetObjectByPropertyActionConstructor START");

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

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

            tlog.Debug(tag, $"EXamlGetObjectByPropertyActionConstructor END (OK)");
        }
コード例 #2
0
        public void EXamlGetObjectByPropertyActionInit()
        {
            tlog.Debug(tag, $"EXamlGetObjectByPropertyActionInit START");

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

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

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

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