org.specs2.matcher

MatchFailure

case class MatchFailure[T](ok: () ⇒ String, ko: () ⇒ String, expectable: Expectable[T], details: Details) extends MatchResult[T] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, MatchResult[T], ResultLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MatchFailure
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. MatchResult
  7. ResultLike
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(matcher: Matcher[T]): MatchResult[T]

    apply a Matcher to the expectable contained in that MatchResult

    apply a Matcher to the expectable contained in that MatchResult

    Depending on the exact type of the MatchResult, that logic may vary

    Definition Classes
    MatchFailureMatchResult
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def be[S >: T <: AnyRef](s: S): MatchResult[T]

    Definition Classes
    MatchResult
  9. def be(m: Matcher[T]): MatchResult[T]

    apply the matcher

    apply the matcher

    Definition Classes
    MatchResult
  10. def canEqual(arg0: Any): Boolean

    Definition Classes
    MatchFailure → Equals
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. val details: Details

  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    MatchFailure → Equals → AnyRef → Any
  15. def evaluate[S >: T]: MatchResult[S]

    the value being matched

    the value being matched

    Attributes
    protected[specs2]
    Definition Classes
    MatchResult
  16. val exception: Exception

    an exception having the same stacktrace

  17. val expectable: Expectable[T]

    the value being matched

    the value being matched

    Definition Classes
    MatchFailureMatchResult
  18. def finalize(): Unit

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

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

    Definition Classes
    MatchFailure → AnyRef → Any
  21. def have(m: Matcher[T]): MatchResult[T]

    apply the matcher

    apply the matcher

    Definition Classes
    MatchResult
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isSuccess: Boolean

    Definition Classes
    MatchResult
  24. val ko: () ⇒ String

  25. def koMessage: String

  26. def message: String

    Definition Classes
    MatchResult
  27. def mute: MatchFailure[T]

    returns

    the MatchResult with no messages

    Definition Classes
    MatchFailureMatchResult
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. def negate: MatchResult[T]

    returns

    the negation of this result

    Definition Classes
    MatchFailureMatchResult
  30. final def notify(): Unit

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

    Definition Classes
    AnyRef
  32. val ok: () ⇒ String

  33. def okMessage: String

  34. def orSkip: MatchFailure[T]

    Definition Classes
    MatchFailureMatchResult
  35. def orThrow: MatchFailure[T]

    Definition Classes
    MatchFailureMatchResult
  36. def productArity: Int

    Definition Classes
    MatchFailure → Product
  37. def productElement(arg0: Int): Any

    Definition Classes
    MatchFailure → Product
  38. def productIterator: Iterator[Any]

    Definition Classes
    Product
  39. def productPrefix: String

    Definition Classes
    MatchFailure → Product
  40. def setMessage(message: String): MatchResult[T]

    set a new failure message on this match result

    set a new failure message on this match result

    Definition Classes
    MatchResult
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toResult: Failure

    Definition Classes
    MatchFailureMatchResultResultLike
  43. def toString(): String

    Definition Classes
    MatchFailure → AnyRef → Any
  44. def updateMessage(f: (String) ⇒ String): MatchFailure[T]

    update the failure message of this match result

    update the failure message of this match result

    Definition Classes
    MatchFailureMatchResult
  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from MatchResult[T]

Inherited from ResultLike

Inherited from AnyRef

Inherited from Any