MustThrownExpectationsCreation

org.specs2.matcher.MustThrownExpectationsCreation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override protected def createMustExpectable[T](t: => T): MustExpectable[T]

Attributes

Definition Classes
MustExpectationsCreation

Inherited methods

protected def checkFailure[T](m: MatchResult[T]): MatchResult[T]

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

Inherited from:
ExpectationsCreation
override protected def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

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
Inherited from:
ThrownExpectables
override protected def checkResultFailure(result: => Result): Result

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
Inherited from:
ThrownExpectables
override def createExpectable[T](t: => T, alias: Option[String => String]): Expectable[T]

Attributes

Returns

an Expectable with a description function

Definition Classes
Inherited from:
ThrownExpectables
def createExpectable[T](t: => T, alias: String => String): Expectable[T]

Attributes

Returns

an Expectable with a description function

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T, alias: => String): Expectable[T]

Attributes

Returns

an Expectable with a description

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T): Expectable[T]

Attributes

Returns

an Expectable

Inherited from:
ExpectationsCreation
override def createExpectableWithShowAs[T](t: => T, show: => String): Expectable[T]

Attributes

Returns

an Expectable with a function to show the element T

Definition Classes
Inherited from:
ThrownExpectables
protected def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

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
protected def sandboxMatchResult[T](mr: => MatchResult[T]): MatchResult[T]

Attributes

Returns

the match result without any side-effects

Inherited from:
ExpectationsCreation
protected def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

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