NoThrownExpectations
This trait can be used to cancel the effect of thrown expectations.
For example it can be mixed-in a mutable.Specification so that no exception is thrown on failure
Attributes
- Graph
-
- Supertypes
-
trait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
this method can be overridden to throw exceptions when checking a result
this method can be overridden to throw exceptions when checking a result
Attributes
- Definition Classes
Inherited methods
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a function to show the element T
- Inherited from:
- ExpectationsCreation
this method can be overridden to intercept a Result and modify it. It is used for example to set a stacktrace providing the location of a failure
this method can be overridden to intercept a Result and modify it. It is used for example to set a stacktrace providing the location of a failure
Attributes
- Inherited from:
- ResultChecks
Attributes
- Returns
-
the result without any side-effects
- Inherited from:
- ResultChecks
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
Attributes
- Inherited from:
- MatchResultStackTrace
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- ExpectationsCreation
Extensions
Inherited extensions
Attributes
- Inherited from:
- ExpectationsDescription
Attributes
- Inherited from:
- ExpectationsDescription
equality matcher on Expectables
! equality matcher on Expectables
Attributes
- Returns
-
an expectable with an alias description
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with its toString method as an alias description this is useful to preserve the original value when the matcher using it is adapting the value
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with an alias description, after the value string
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with an alias description, after the value string
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with a function to show the element T
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with a function to show the element T
- Inherited from:
- ExpectationsDescription