Web related assertions.
Namespace: MbUnit.Framework
Assembly: MbUnit.Framework (in MbUnit.Framework.dll)
Syntax
| C# | Visual Basic | Visual C++ |
public sealed class WebAssert
Public NotInheritable Class WebAssert
public ref class WebAssert sealed
Members
| All Members | Methods |
| Member | Description | |
|---|---|---|
| AreClientTargetEqual(String, Page) | ||
| AreErrorPageEqual(String, Page) | ||
| AreTemplateSourceDirectoryEqual(String, Control) | ||
| AreTemplateSourceDirectoryEqual(Control, Control) | ||
| 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.) | |
| 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.) | |
| HasControls(Control) |
Verifies that ctrl has child controls.
| |
| HasNoControls(Control) |
Verifies that ctrl has no child controls.
| |
| IsChild(Control, String) |
Verifies that childID is the ID of a child control
of parent | |
| IsChild(Control, Control) |
Verifies that child is a child control
of parent | |
| IsEnableViewState(Control) |
Verifies that ctrl has ViewState enabled.
| |
| IsIDEqual(Control, String) |
Verifies that ctrl ID is equal to id.
| |
| IsNotChild(Control, String) |
Verifies that childID is the not ID of a child control
of parent | |
| IsNotChild(Control, Control) |
Verifies that child is a not child control
of parent | |
| IsNotEnableViewState(Control) |
Verifies that ctrl has not ViewState enabled.
| |
| IsNotPostBack(Page) |
Verifies that the IsPostBack property of page
is false.
| |
| IsNotSmartNavigation(Page) |
Verifies that the SmartNavigation property of page
is false.
| |
| IsNotValid(Page) |
Verifies that the IsValid property of page
is false.
| |
| IsNotVisible(Control) |
Verifies that ctrl is not visible.
| |
| IsPostBack(Page) |
Verifies that the IsPostBack property of page
is true.
| |
| IsSmartNavigation(Page) |
Verifies that the SmartNavigation property of page
is true.
| |
| IsValid(Page) |
Verifies that the IsValid property of page
is true.
| |
| IsVisible(Control) |
Verifies that ctrl is visible.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()() | (Inherited from Object.) |
Inheritance Hierarchy
See Also
MbUnit.Framework Namespace