JUnitExpectations
This trait throws AssertionFailed errors when a match fails.
It is involved when reusing Matchers with JUnit
Attributes
- Graph
-
- Supertypes
-
trait ThrownExpectationstrait ThrownStandardMatchResultstrait StandardMatchResultstrait ThrownStandardResultstrait StandardResultstrait ThrownExpectationsCreationtrait ThrownExpectablestrait ExpectationsCreationtrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait JUnitMustExpectationsobject JUnitMustExpectations.typetrait JUnitMustMatchersobject JUnitMustMatchers.typetrait JUnitShouldExpectationsobject JUnitShouldExpectations.typetrait JUnitShouldMatchersobject JUnitShouldMatchers.typeShow all
Members list
Value members
Concrete methods
this method can be overridden to throw exceptions when checking the match result
this method can be overridden to throw exceptions when checking the match result
Attributes
- Definition Classes
-
ExpectationsCreation
Inherited methods
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
this method can be overriden to throw exceptions when checking the match result
this method can be overriden to throw exceptions when checking the match result
Attributes
- Definition Classes
-
ThrownExpectables -> ExpectationsCreation
- Inherited from:
- ThrownExpectables
this method can be overridden to throw exceptions when checking the result
this method can be overridden to throw exceptions when checking the result
Attributes
- Definition Classes
-
ThrownExpectables -> ExpectationsCreation
- Inherited from:
- ThrownExpectables
Attributes
- Returns
-
an Expectable with a description function
- Definition Classes
-
ThrownExpectables -> ExpectationsCreation
- Inherited from:
- ThrownExpectables
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 function to show the element T
- Definition Classes
-
ThrownExpectables -> ExpectationsCreation
- Inherited from:
- ThrownExpectables
Attributes
- Inherited from:
- StandardResults
Attributes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardMatchResults
this method can be overridden to intercept a MatchResult and change its message before it is thrown
this method can be overridden to intercept a MatchResult and change its message before it is thrown
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- StandardMatchResults
Attributes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
Attributes
- Returns
-
the value without any side-effects for expectations
- Definition Classes
-
ThrownStandardMatchResults -> ExpectationsCreation
- 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
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
Attributes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults