Assume
Provides static methods to express the assumptions
that must be met for a test to give a meaningful
result. If an assumption is not met, the test
should produce an inconclusive result.
public Assume()
The Equals method throws an AssertionException. This is done
to make sure there is no mistake by calling this function.
override the default ReferenceEquals to throw an AssertionException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
public static void That(object actual, IResolveConstraint expression, string message, object[] args)
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
public static void That(ActualValueDelegate del, IResolveConstraint expr, string message, object[] args)
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
Apply a constraint to a referenced value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
Apply a constraint to a referenced value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
public static void That<T>(ref T actual, IResolveConstraint expression, string message, object[] args)
Apply a constraint to a referenced value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
Asserts that a condition is true. If the condition is false the method throws
an InconclusiveException.
Asserts that a condition is true. If the condition is false the method throws
an InconclusiveException.
Asserts that a condition is true. If the condition is false the
method throws an InconclusiveException.
Asserts that the code represented by a delegate throws an exception
that satisfies the constraint provided.