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

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

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

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

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

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

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

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