JUnitExpectations
This trait throws AssertionFailed errors when a match fails.
It is involved when reusing Matchers with JUnit
Attributes
- Graph
-
- Supertypes
-
trait ThrownExpectationstrait ExpectedResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectablestrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait JUnitMustExpectationsobject JUnitMustExpectationstrait JUnitMustMatchersobject JUnitMustMatcherstrait JUnitShouldExpectationsobject JUnitShouldExpectationstrait JUnitShouldMatchersobject JUnitShouldMatchersShow 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
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
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
- Definition Classes
- Inherited from:
- ThrownExpectables
Attributes
- Returns
-
an Expectable with a function to show the element T
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- StandardResults
Attributes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- ExpectedResults
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
- Inherited from:
- ExpectedResults
Attributes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
Attributes
- Returns
-
the value without any side-effects for expectations
- Definition Classes
- Inherited from:
- ThrownStandardMatchResults
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:
- ThrownStandardResults
Attributes
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
Attributes
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Definition Classes
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
Inherited fields
Attributes
- Inherited from:
- ThrownStandardMatchResults
Attributes
- Inherited from:
- ExpectedResults
Attributes
- Inherited from:
- ThrownStandardResults