Пример #1
0
 public void ParseYesIsEmpty()
 {
     Assert.IsTrue(CustomTag.IsEmptyElement(tagWithAttribParams, CustomTagFactoryTests.CUSTOM_TAG), "Tag incorrectly not empty: " + tagWithAttribParams);
 }
Пример #2
0
        public void ParseYesIsEmptyWithSpace()
        {
            string tag = String.Format("<{0} >    </{0}>", CustomTagFactoryTests.CUSTOM_TAG);

            Assert.IsTrue(CustomTag.IsEmptyElement(tag, CustomTagFactoryTests.CUSTOM_TAG), "Tag incorrectly not empty: " + tag);
        }
Пример #3
0
 public void ParseNotIsEmpty()
 {
     Assert.IsFalse(CustomTag.IsEmptyElement(tagWithElemParams, CustomTagFactoryTests.CUSTOM_TAG), "Tag incorrectly not empty: " + tagWithElemParams);
 }