The methods of NUnit.Framework.Assert are listed below. For a list of all members, see the Assert Members list.
See Also: Inherited members from System.Object
static | AreEqual(decimal, decimal)Documentation for this section has not yet been entered. | |
static | AreEqual(int, int)Documentation for this section has not yet been entered. | |
static | AreEqual(long, long)Documentation for this section has not yet been entered. | |
static | AreEqual(object, object)Documentation for this section has not yet been entered. | |
static | AreEqual(uint, uint)Documentation for this section has not yet been entered. | |
static | AreEqual(ulong, ulong)Documentation for this section has not yet been entered. | |
static | AreEqual(decimal, decimal, string)Documentation for this section has not yet been entered. | |
static | AreEqual(double, double, double)Documentation for this section has not yet been entered. | |
static | AreEqual(double, Nullable<double>, double)Documentation for this section has not yet been entered. | |
static | AreEqual(int, int, string)Documentation for this section has not yet been entered. | |
static | AreEqual(long, long, string)Documentation for this section has not yet been entered. | |
static | AreEqual(object, object, string)Documentation for this section has not yet been entered. | |
static | AreEqual(uint, uint, string)Documentation for this section has not yet been entered. | |
static | AreEqual(ulong, ulong, string)Documentation for this section has not yet been entered. | |
static | AreEqual(decimal, decimal, string, params object[])Documentation for this section has not yet been entered. | |
static | AreEqual(double, double, double, string)Documentation for this section has not yet been entered. | |
static | AreEqual(double, Nullable<double>, double, string)Documentation for this section has not yet been entered. | |
static | AreEqual(int, int, string, params object[])Documentation for this section has not yet been entered. | |
static | AreEqual(long, long, string, params object[])Documentation for this section has not yet been entered. | |
static | AreEqual(object, object, string, params object[])Documentation for this section has not yet been entered. | |
static | AreEqual(uint, uint, string, params object[])Documentation for this section has not yet been entered. | |
static | AreEqual(ulong, ulong, string, params object[])Documentation for this section has not yet been entered. | |
static | AreEqual(double, double, double, string, params object[])Documentation for this section has not yet been entered. | |
static | AreEqual(double, Nullable<double>, double, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotEqual(decimal, decimal)Documentation for this section has not yet been entered. | |
static | AreNotEqual(double, double)Documentation for this section has not yet been entered. | |
static | AreNotEqual(int, int)Documentation for this section has not yet been entered. | |
static | AreNotEqual(long, long)Documentation for this section has not yet been entered. | |
static | AreNotEqual(object, object)Documentation for this section has not yet been entered. | |
static | AreNotEqual(float, float)Documentation for this section has not yet been entered. | |
static | AreNotEqual(uint, uint)Documentation for this section has not yet been entered. | |
static | AreNotEqual(ulong, ulong)Documentation for this section has not yet been entered. | |
static | AreNotEqual(decimal, decimal, string)Documentation for this section has not yet been entered. | |
static | AreNotEqual(double, double, string)Documentation for this section has not yet been entered. | |
static | AreNotEqual(int, int, string)Documentation for this section has not yet been entered. | |
static | AreNotEqual(long, long, string)Documentation for this section has not yet been entered. | |
static | AreNotEqual(object, object, string)Documentation for this section has not yet been entered. | |
static | AreNotEqual(float, float, string)Documentation for this section has not yet been entered. | |
static | AreNotEqual(uint, uint, string)Documentation for this section has not yet been entered. | |
static | AreNotEqual(ulong, ulong, string)Documentation for this section has not yet been entered. | |
static | AreNotEqual(decimal, decimal, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotEqual(double, double, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotEqual(int, int, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotEqual(long, long, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotEqual(object, object, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotEqual(float, float, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotEqual(uint, uint, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotEqual(ulong, ulong, string, params object[])Documentation for this section has not yet been entered. | |
static | AreNotSame(object, object)Documentation for this section has not yet been entered. | |
static | AreNotSame(object, object, string)Documentation for this section has not yet been entered. | |
static | AreNotSame(object, object, string, params object[])Documentation for this section has not yet been entered. | |
static | AreSame(object, object)Documentation for this section has not yet been entered. | |
static | AreSame(object, object, string)Documentation for this section has not yet been entered. | |
static | AreSame(object, object, string, params object[])Documentation for this section has not yet been entered. | |
static | ByVal(object, NUnit.Framework.Constraints.IResolveConstraint)Documentation for this section has not yet been entered. | |
static | ByVal(object, NUnit.Framework.Constraints.IResolveConstraint, string)Documentation for this section has not yet been entered. | |
static | ByVal(object, NUnit.Framework.Constraints.IResolveConstraint, string, params object[])Documentation for this section has not yet been entered. | |
static | Catch(TestDelegate)Documentation for this section has not yet been entered. | |
static | Catch(TestDelegate, string)Documentation for this section has not yet been entered. | |
static | Catch(Type, TestDelegate)Documentation for this section has not yet been entered. | |
static | Catch(TestDelegate, string, params object[])Documentation for this section has not yet been entered. | |
static | Catch(Type, TestDelegate, string)Documentation for this section has not yet been entered. | |
static | Catch(Type, TestDelegate, string, params object[])Documentation for this section has not yet been entered. | |
static | Catch<T>(TestDelegate)Documentation for this section has not yet been entered. | |
static | Catch<T>(TestDelegate, string)Documentation for this section has not yet been entered. | |
static | Catch<T>(TestDelegate, string, params object[])Documentation for this section has not yet been entered. | |
static | DoesNotThrow(TestDelegate)Documentation for this section has not yet been entered. | |
static | DoesNotThrow(TestDelegate, string)Documentation for this section has not yet been entered. | |
static | DoesNotThrow(TestDelegate, string, params object[])Documentation for this section has not yet been entered. | |
static | Equals(object, object)The Equals method throws an AssertionException. This is done to make sure there is no mistake by calling this function. | |
static | Fail()Documentation for this section has not yet been entered. | |
static | Fail(string)Documentation for this section has not yet been entered. | |
static | Fail(string, params object[])Throw an assertion exception with a message and optional arguments | |
static | False(bool)Asserts that a condition is false. If the condition is true the method throws an NUnit.Framework.AssertionException. | |
static | False(bool, string)Asserts that a condition is false. If the condition is true the method throws an NUnit.Framework.AssertionException. | |
static | False(bool, string, params object[])Asserts that a condition is false. If the condition is true the method throws an NUnit.Framework.AssertionException. | |
static | Ignore()Throws an NUnit.Framework.IgnoreException. This causes the test to be reported as ignored. | |
static | Ignore(string)Throws an NUnit.Framework.IgnoreException with the message that is passed in. This causes the test to be reported as ignored. | |
static | Ignore(string, params object[])Throws an NUnit.Framework.IgnoreException with the message and arguments that are passed in. This causes the test to be reported as ignored. | |
static | Inconclusive()Throws an NUnit.Framework.InconclusiveException. This causes the test to be reported as Inconclusive. | |
static | Inconclusive(string)Throws an NUnit.Framework.InconclusiveException with the message that is passed in. This causes the test to be reported as inconclusive. | |
static | Inconclusive(string, params object[])Throws an NUnit.Framework.InconclusiveException with the message and arguments that are passed in. This causes the test to be reported as inconclusive. | |
static | IsFalse(bool)Documentation for this section has not yet been entered. | |
static | IsFalse(bool, string)Documentation for this section has not yet been entered. | |
static | IsFalse(bool, string, params object[])Documentation for this section has not yet been entered. | |
static | IsNotNull(object)Documentation for this section has not yet been entered. | |
static | IsNotNull(object, string)Documentation for this section has not yet been entered. | |
static | IsNotNull(object, string, params object[])Documentation for this section has not yet been entered. | |
static | IsNull(object)Documentation for this section has not yet been entered. | |
static | IsNull(object, string)Documentation for this section has not yet been entered. | |
static | IsNull(object, string, params object[])Documentation for this section has not yet been entered. | |
static | IsTrue(bool)Documentation for this section has not yet been entered. | |
static | IsTrue(bool, string)Documentation for this section has not yet been entered. | |
static | IsTrue(bool, string, params object[])Documentation for this section has not yet been entered. | |
static | NotNull(object)Verifies that the object that is passed in is not equal to | |
static | NotNull(object, string)Verifies that the object that is passed in is not equal to | |
static | NotNull(object, string, params object[])Verifies that the object that is passed in is not equal to | |
static | Null(object)Verifies that the object that is passed in is equal to | |
static | Null(object, string)Verifies that the object that is passed in is equal to | |
static | Null(object, string, params object[])Verifies that the object that is passed in is equal to | |
static | Pass()Throws a NUnit.Framework.SuccessException with the message and arguments that are passed in. This allows a test to be cut short, with a result of success returned to NUnit. | |
static | Pass(string)Throws a NUnit.Framework.SuccessException with the message and arguments that are passed in. This allows a test to be cut short, with a result of success returned to NUnit. | |
static | Pass(string, params object[])Throws a NUnit.Framework.SuccessException with the message and arguments that are passed in. This allows a test to be cut short, with a result of success returned to NUnit. | |
static | ReferenceEquals(object, object)override the default ReferenceEquals to throw an AssertionException. This implementation makes sure there is no mistake in calling this function as part of Assert. | |
static | That(bool)Asserts that a condition is true. If the condition is false the method throws an NUnit.Framework.AssertionException. | |
static | That(TestDelegate, NUnit.Framework.Constraints.IResolveConstraint)Documentation for this section has not yet been entered. | |
static | That(bool, string)Asserts that a condition is true. If the condition is false the method throws an NUnit.Framework.AssertionException. | |
static | That(object, NUnit.Framework.Constraints.IResolveConstraint)Apply a constraint to an actual value, succeeding if the constraint is satisfied and throwing an assertion exception on failure. | |
static | That(bool, string, params object[])Asserts that a condition is true. If the condition is false the method throws an NUnit.Framework.AssertionException. | |
static | That(object, NUnit.Framework.Constraints.IResolveConstraint, string)Apply a constraint to an actual value, succeeding if the constraint is satisfied and throwing an assertion exception on failure. | |
static | That(object, NUnit.Framework.Constraints.IResolveConstraint, string, params object[])Apply a constraint to an actual value, succeeding if the constraint is satisfied and throwing an assertion exception on failure. | |
static | That<T>(NUnit.Framework.Constraints.ActualValueDelegate<T>, NUnit.Framework.Constraints.IResolveConstraint)Documentation for this section has not yet been entered. | |
static | That<T>(ref T, NUnit.Framework.Constraints.IResolveConstraint)Documentation for this section has not yet been entered. | |
static | That<T>(NUnit.Framework.Constraints.ActualValueDelegate<T>, NUnit.Framework.Constraints.IResolveConstraint, string)Documentation for this section has not yet been entered. | |
static | That<T>(ref T, NUnit.Framework.Constraints.IResolveConstraint, string)Documentation for this section has not yet been entered. | |
static | That<T>(NUnit.Framework.Constraints.ActualValueDelegate<T>, NUnit.Framework.Constraints.IResolveConstraint, string, params object[])Documentation for this section has not yet been entered. | |
static | That<T>(ref T, NUnit.Framework.Constraints.IResolveConstraint, string, params object[])Documentation for this section has not yet been entered. | |
static | Throws(NUnit.Framework.Constraints.IResolveConstraint, TestDelegate)Documentation for this section has not yet been entered. | |
static | Throws(Type, TestDelegate)Documentation for this section has not yet been entered. | |
static | Throws(NUnit.Framework.Constraints.IResolveConstraint, TestDelegate, string)Documentation for this section has not yet been entered. | |
static | Throws(Type, TestDelegate, string)Documentation for this section has not yet been entered. | |
static | Throws(NUnit.Framework.Constraints.IResolveConstraint, TestDelegate, string, params object[])Documentation for this section has not yet been entered. | |
static | Throws(Type, TestDelegate, string, params object[])Documentation for this section has not yet been entered. | |
static | Throws<T>(TestDelegate)Documentation for this section has not yet been entered. | |
static | Throws<T>(TestDelegate, string)Documentation for this section has not yet been entered. | |
static | Throws<T>(TestDelegate, string, params object[])Documentation for this section has not yet been entered. | |
static | True(bool)Asserts that a condition is true. If the condition is false the method throws an NUnit.Framework.AssertionException. | |
static | True(bool, string)Asserts that a condition is true. If the condition is false the method throws an NUnit.Framework.AssertionException. | |
static | True(bool, string, params object[])Asserts that a condition is true. If the condition is false the method throws an NUnit.Framework.AssertionException. | |