The Gallio.Framework.Assertions namespace provides a framework for reporting assertion failures.
Classes
| Class | Description | |
|---|---|---|
| AssertionConditionEvaluator |
Evaluates a conditional expression. If the condition evaluates differently
than expected, returns a detailed AssertionFailure that
describes the formatted values of relevant sub-expressions within the condtion.
| |
| AssertionContext |
Describes the context in which an assertion is being evaluated.
| |
| AssertionException |
The exception type used by the Gallio assertion framework to signal assertion failures.
| |
| AssertionFailure |
An assertion failure is an immutable description of a failed assertion and its
cause. It takes into account information about labeled values such as the expected
and actual value.
| |
| AssertionFailureBuilder |
An assertion failure builder is used to construct a complete description
of an assertion failure that has occurred. It takes into account information about
the expected and actual value, as well as additional labeled values and exceptions.
| |
| AssertionFailureException |
An exception type that wraps a AssertionFailure.
| |
| AssertionHelper |
Provides utilities to assist with the implementation of new asserts.
|
Structures
| Structure | Description | |
|---|---|---|
| AssertionFailure..::.LabeledValue |
A labeled value describes a named assertion parameter.
|
Delegates
| Delegate | Description | |
|---|---|---|
| AssertionFailureExplanation |
A delegate for the Explain(Action, AssertionFailureExplanation) decorator method which
combines the specified inner failures into a single outer failure with a common explanation.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| AssertionFailureBehavior |
Specifies the behavior that should take place when a AssertionFailure
is submitted to the AssertionContext.
|
