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

            try
            {
                var xt = new XmlType("http://tizen.org/Tizen.NUI/2018/XAML", "View", null);
                var t  = XamlParser.GetElementTypeExtension(xt, null, typeof(UIElement).Assembly);
                Assert.IsNull(t, "Should be null");
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

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