StringAssert
Basic Asserts on strings.
protected StringAssert()
public static void AreEqualIgnoringCase(string expected, string actual, string message, object[] args)
Asserts that two strings are equal, without regard to case.
Asserts that two strings are equal, without regard to case.
public static void AreNotEqualIgnoringCase(string expected, string actual, string message, object[] args)
Asserts that two strings are not equal, without regard to case.
Asserts that two strings are not equal, without regard to case.
Asserts that a string is found within another string.
Asserts that a string is found within another string.
Asserts that a string is not found within another string.
Asserts that a string is found within another string.
Asserts that a string does not end with another string.
Asserts that a string does not end with another string.
Asserts that a string does not match an expected regular expression pattern.
Asserts that a string does not match an expected regular expression pattern.
Asserts that a string does not start with another string.
Asserts that a string does not start with another string.
Asserts that a string ends with another string.
Asserts that a string ends with another string.
DO NOT USE! Use StringAssert.AreEqualIgnoringCase(...) or Assert.AreEqual(...) instead.
The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
Asserts that a string matches an expected regular expression pattern.
Asserts that a string matches an expected regular expression pattern.
DO NOT USE!
The ReferenceEquals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
Asserts that a string starts with another string.
Asserts that a string starts with another string.