示例#1
0
        public void EXamlGatherEventsBlockConstructor()
        {
            tlog.Debug(tag, $"EXamlGatherEventsBlockConstructor START");

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

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

            tlog.Debug(tag, $"EXamlGatherEventsBlockConstructor END (OK)");
        }
示例#2
0
        public void EXamlGatherEventsBlockInit()
        {
            tlog.Debug(tag, $"EXamlGatherEventsBlockInit START");

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

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

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

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