ThrownStandardResults

org.specs2.matcher.ThrownStandardResults
trait ThrownStandardResults extends StandardResults, ExpectationsCreation

Attributes

Graph
Supertypes
trait StandardResults
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

override def anError: Error

Attributes

Definition Classes
StandardResults
override def failure: Failure

Attributes

Definition Classes
StandardResults
override def failure(m: String): Failure

Attributes

Definition Classes
StandardResults
protected def failure(f: Failure): Failure
override def pending: Pending

Attributes

Definition Classes
StandardResults
override def pending(m: String): Pending

Attributes

Definition Classes
StandardResults
protected def pending(p: Pending): Pending
override def skipped: Skipped

Attributes

Definition Classes
StandardResults
override def skipped(m: String): Skipped

Attributes

Definition Classes
StandardResults
protected def skipped(s: Skipped): Skipped
protected def success(m: String): Success
override def todo: Pending

Attributes

Definition Classes
StandardResults

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
protected def checkMatchResultFailure[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
protected def checkResultFailure(r: => 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

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

Attributes

Returns

an Expectable with a description function

Inherited from:
ExpectationsCreation
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
def createExpectableWithShowAs[T](t: => T, showAs: => String): Expectable[T]

Attributes

Returns

an Expectable with a function to show the element T

Inherited from:
ExpectationsCreation
def done: Success

Attributes

Inherited from:
StandardResults
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
def pending[R : AsResult](r: => R): Pending

Attributes

Inherited from:
StandardResults
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
def skipped[R : AsResult](r: => R): Skipped

Attributes

Inherited from:
StandardResults
def wontdo: Success

Attributes

Inherited from:
StandardResults

Concrete fields

lazy override val success: Success