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

            XamlFilePathAttribute x1 = new XamlFilePathAttribute("myPath");

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

            var testingTarget = new XamlFilePathAttribute("myPath");

            Assert.IsNotNull(testingTarget, "null XamlFilePathAttribute");
            Assert.IsInstanceOf <XamlFilePathAttribute>(testingTarget, "Should return XamlFilePathAttribute instance.");

            testingTarget = null;
            tlog.Debug(tag, $"XamlFilePathAttributeConstructor END");
        }