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 Public method 
 Public

 Protected
 Instance

 Static Static member
 Declared

 Inherited
 XNA Framework Only Supported by the XNA Framework

 .NET Compact Framework Only Supported by the .NET Compact Framework

 MemberDescription
Public methodStatic memberAreEqualIgnoreCase(String, String)
Asserts that two strings are equal, ignoring the case
Public methodStatic memberContains(String, String)
Public methodStatic memberDoesNotContain(String, array<Char>[]()[])
Asserts the string does not contain c
Public methodStatic memberEndsWith(String, String)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFullMatch(String, String)
Asserts the regular expression reg makes a full match on s
Public methodStatic memberFullMatch(String, Regex)
Asserts the regular expression regex makes a full match on s.
Public methodGetHashCode()()()
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.)
Public methodGetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsEmpty(String)
Asserts that the string is non null and empty
Public methodStatic memberIsNonEmpty(String)
Asserts that the string is non null and non empty
Public methodStatic memberLike(String, String)
Asserts the regular expression reg makes a match on s
Public methodStatic memberLike(String, Regex)
Asserts the regular expression regex makes a match on s
Protected methodMemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNotLike(String, String)
Asserts the regular expression reg makes a match on s
Public methodStatic memberNotLike(String, Regex)
Asserts the regular expression regex makes a match on s
Public methodStatic memberStartsWith(String, String)
Public methodToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::.Object
  MbUnit.Framework..::.StringAssert

See Also