Trait/Object

org.specs2.matcher

MatchResultCombinators

Related Docs: object MatchResultCombinators | package matcher

Permalink

trait MatchResultCombinators extends MatchResultLogicalCombinators with ResultLogicalCombinators

This trait provides logical operators to combine match results where potentially a MatchResult expression throws an Exception, either because it is an error or because it is a ThrownExpectation

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MatchResultCombinators
  2. ResultLogicalCombinators
  3. Results
  4. MatchResultLogicalCombinators
  5. Expectations
  6. ExpectationsDescription
  7. TypedEqual
  8. ExpectationsCreation
  9. MatchResultStackTrace
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class Descriptible[T] extends AnyRef

    Permalink
    Definition Classes
    ExpectationsDescription
  2. class ExpectationDescription extends AnyRef

    Permalink
    Definition Classes
    ExpectationsDescription
  3. class MatchResultCombinator[T] extends AnyRef

    Permalink
  4. class ResultLogicalCombinator extends AnyRef

    Permalink
    Definition Classes
    ResultLogicalCombinators
  5. class TypedEqualExpectation[T] extends AnyRef

    Permalink
    Definition Classes
    TypedEqual

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def booleanToSimpleResult(b: Boolean): Result

    Permalink
    Definition Classes
    Results
  6. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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
    protected
    Definition Classes
    ExpectationsCreation
  7. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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
    protected
    Definition Classes
    ExpectationsCreation
  8. def checkResultFailure(r: ⇒ Result): Result

    Permalink

    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
    protected
    Definition Classes
    ExpectationsCreation
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. implicit def combineBoolean(b: ⇒ Boolean): ResultLogicalCombinator

    Permalink
    Definition Classes
    ResultLogicalCombinators
  11. implicit def combineMatchResult[T](m: ⇒ MatchResult[T]): MatchResultCombinator[T]

    Permalink
  12. implicit def combineResult(r: ⇒ Result): ResultLogicalCombinator

    Permalink
    Definition Classes
    ResultLogicalCombinators
  13. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    Permalink

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  14. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  15. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a description

    Definition Classes
    ExpectationsCreation
  16. def createExpectable[T](t: ⇒ T): Expectable[T]

    Permalink

    returns

    an Expectable

    Definition Classes
    ExpectationsCreation
  17. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ExpectationsCreation
  18. implicit def describe[T](t: ⇒ T): Descriptible[T]

    Permalink

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    ExpectationsDescription
  19. implicit def describeExpectation(description: String): ExpectationDescription

    Permalink
    Definition Classes
    ExpectationsDescription
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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
    protected
    Definition Classes
    ExpectationsCreation
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. def negate(r: Result): Result

    Permalink
    Definition Classes
    Results
  29. def negateWhen(condition: Boolean)(r: Result): Result

    Permalink
    Definition Classes
    Results
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

    Permalink

    returns

    the match result without any side-effects

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  33. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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
    protected
    Definition Classes
    MatchResultStackTrace
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. implicit def toResult(b: Boolean): Result

    Permalink

    implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

    implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

    Definition Classes
    Results
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. implicit def typedEqualExpectation[T](t: ⇒ T): TypedEqualExpectation[T]

    Permalink

    A value can be tested against another with the === operator.

    A value can be tested against another with the === operator. It is equivalent to writing a must_== b

    Definition Classes
    TypedEqual
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ResultLogicalCombinators

Inherited from Results

Inherited from Expectations

Inherited from ExpectationsDescription

Inherited from TypedEqual

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped