Assert Members
Verifies conditions in unit tests using true/false propositions.
The following tables list the members exposed by the Assert type.
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AreEqual | Overloaded. Verifies that specified values are equal. |
| AreNotEqual | Overloaded. Verifies that specified values are not equal. |
| AreNotSame | Overloaded. Verifies that specified object variables refer to different objects. |
| AreSame | Overloaded. Verifies that specified object variables refer to the same object. |
| Equals | Overloaded. (Inherited from Object.) |
| Fail | Overloaded. Fails an assertion without checking any conditions. |
| GetHashCode | (Inherited from Object.) |
| GetType | (Inherited from Object.) |
| Inconclusive | Overloaded. Indicates that an assertion cannot be proven true or false. Also used to indicate an assertion that has not yet been implemented. |
| IsFalse | Overloaded. Verifies that a specified condition is false. |
| IsInstanceOfType | Overloaded. Verifies that a specified object is an instance of a specified type. |
| IsNotInstanceOfType | Overloaded. Verifies that a specified object is not an instance of a specified type. |
| IsNotNull | Overloaded. Verifies that a specified object is not a null reference (Nothing in Visual Basic). |
| IsNull | Overloaded. Verifies that a specified object is null. |
| IsTrue | Overloaded. Verifies that a specified condition is true. |
| ReferenceEquals | (Inherited from Object.) |
| ToString | (Inherited from Object.) |