package matcher
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- matcher
- ReturnsSyntax
- ExpectationsCreation
- MatchResultStackTrace
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- trait JUnitExpectations extends ThrownExpectations
This trait throws AssertionFailed errors when a match fails.
This trait throws AssertionFailed errors when a match fails.
It is involved when reusing Matchers with JUnit
- trait JUnitMustExpectations extends MustThrownExpectations with JUnitExpectations
This trait can be imported to use MustMatchers in JUnit
- trait JUnitMustMatchers extends Matchers with JUnitMustExpectations
These traits and objects can be used in JUnit
- trait JUnitShouldExpectations extends ShouldThrownExpectations with JUnitExpectations
This trait can be imported to use ShouldMatchers in JUnit
- trait JUnitShouldMatchers extends Matchers with JUnitShouldExpectations
- implicit class Returns[T] extends AnyRef
- Definition Classes
- ReturnsSyntax
Value Members
- def checkFailure[T](m: MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
- def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
- def checkResultFailure(r: ⇒ Result): Result
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
- def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]
- Definition Classes
- ExpectationsCreation
- def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]
- Definition Classes
- ExpectationsCreation
- def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]
- Definition Classes
- ExpectationsCreation
- def createExpectable[T](t: ⇒ T): Expectable[T]
- Definition Classes
- ExpectationsCreation
- def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]
- Definition Classes
- ExpectationsCreation
- def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
- def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
- def setStacktrace[T](m: MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- MatchResultStackTrace
- object JUnitMustExpectations extends JUnitMustExpectations
- object JUnitMustMatchers extends JUnitMustMatchers with NoMatchResultStackTrace
- object JUnitShouldExpectations extends JUnitShouldExpectations
- object JUnitShouldMatchers extends JUnitShouldMatchers with NoMatchResultStackTrace