public void IsKeyword_WithStringLiteralTestValueWithoutLeadingDot_ShouldReturnFalse() { Assert.IsFalse(XmlHelpKeyword.IsKeyword("Test")); }
public void IsKeyword_WithStringLiteralTestLowerCase_ShouldIgnoreCaseAndReturnTrue() { Assert.IsTrue(XmlHelpKeyword.IsKeyword(".test")); }
public void IsKeyword_WithStringLiteralTestAllUpperCaseAndLeadingWhitespaces_ShouldIgnoreCaseAndWhitespacesAndReturnTrue() { Assert.IsTrue(XmlHelpKeyword.IsKeyword(" .TEST ")); }
public void IsKeyword_WithStringLiteralTestAndLeadingAndClosingWhitespace_ShouldIgnoreWhitespacesAtBothEndsAndReturnTrue() { Assert.IsTrue(XmlHelpKeyword.IsKeyword(" .Test ")); }
public void IsKeyword_WithStringLiteralTestAndFollowingInformation_ShouldIgnoreFollowingInformationAndReturnTrue() { Assert.IsTrue(XmlHelpKeyword.IsKeyword(".Test MyTest")); }
public void IsKeyword_WithStringLiteralTestValueLeadingDotAndWhiteSpacesBefore_ShouldIgnoreLeadingWhiteSpacesAndReturnTrue() { Assert.IsTrue(XmlHelpKeyword.IsKeyword(" .Test")); }
public void IsKeyword_WithStringLiteralTestValueLeadingDot_ShouldReturnTrue() { Assert.IsTrue(XmlHelpKeyword.IsKeyword(".Test")); }
public void IsKeyword_WithStringLiteralTestValueAndLeadingMinus_ShouldReturnFalse() { Assert.IsFalse(XmlHelpKeyword.IsKeyword("-Test")); }