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()
DO NOT USE!
The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
DO NOT USE!
The ReferenceEquals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
public static void That<TActual>(ActualValueDelegate<TActual> 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.
public static void That<TActual>(ActualValueDelegate<TActual> del, IResolveConstraint expr, Func<string> getExceptionMessage)
Apply a constraint to an actual 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 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.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
public static void That<TActual>(TActual 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.
public static void That<TActual>(TActual actual, IResolveConstraint expression, Func<string> getExceptionMessage)
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.