String Assertion class
Namespace: MbUnit.Framework
Assembly: MbUnit.Framework (in MbUnit.Framework.dll)
Syntax
| C# | Visual Basic | Visual C++ |
public sealed class StringAssert
Public NotInheritable Class StringAssert
public ref class StringAssert sealed
Members
| All Members | Methods |
| Member | Description | |
|---|---|---|
| AreEqualIgnoreCase(String, String) |
Asserts that two strings are equal, ignoring the case
| |
| Contains(String, String) | ||
| DoesNotContain(String, array<Char>[]()[]) |
Asserts the string does not contain c
| |
| EndsWith(String, String) | ||
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FullMatch(String, String) |
Asserts the regular expression reg makes a full match on s
| |
| FullMatch(String, Regex) |
Asserts the regular expression regex makes a full match on
s.
| |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsEmpty(String) |
Asserts that the string is non null and empty
| |
| IsNonEmpty(String) |
Asserts that the string is non null and non empty
| |
| Like(String, String) |
Asserts the regular expression reg makes a match on s
| |
| Like(String, Regex) |
Asserts the regular expression regex makes a match on s
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NotLike(String, String) |
Asserts the regular expression reg makes a match on s
| |
| NotLike(String, Regex) |
Asserts the regular expression regex makes a match on s
| |
| StartsWith(String, String) | ||
| ToString()()() | (Inherited from Object.) |
Inheritance Hierarchy
See Also
MbUnit.Framework Namespace