This trait can be imported to use MustMatchers in JUnit
- Companion:
- object
trait JUnitExpectations
trait MustThrownExpectations
trait ThrownExpectations
trait ThrownStandardMatchResults
trait ExpectedResults
trait ThrownStandardResults
trait StandardResults
trait ThrownExpectationsCreation
trait ThrownExpectables
trait MustExpectations
trait TypedEqual
trait ExpectationsCreation
trait ResultChecks
trait MatchResultStackTrace
class Object
trait Matchable
class Any
Value members
Inherited methods
- Returns:
an Expectable with a description function
- Definition Classes
- ThrownExpectables -> ExpectationsCreation
- Inherited from:
- ThrownExpectables
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
- Inherited from:
- ResultChecks
- Returns:
the value without any side-effects for expectations
- Definition Classes
- ThrownStandardMatchResults -> ResultChecks
- 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
- Inherited from:
- MatchResultStackTrace
Extensions
Inherited extensions
extension [T](t: => T)