public void ParseYesIsEmpty() { Assert.IsTrue(CustomTag.IsEmptyElement(tagWithAttribParams, CustomTagFactoryTests.CUSTOM_TAG), "Tag incorrectly not empty: " + tagWithAttribParams); }
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); }
public void ParseNotIsEmpty() { Assert.IsFalse(CustomTag.IsEmptyElement(tagWithElemParams, CustomTagFactoryTests.CUSTOM_TAG), "Tag incorrectly not empty: " + tagWithElemParams); }