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

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

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

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

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

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

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

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