org.specs2.matcher

OrMatch

class OrMatch[T] extends MatchResult[T]

Linear Supertypes
MatchResult[T], ResultLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OrMatch
  2. MatchResult
  3. ResultLike
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
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.

    Note: this method is marked as "private" to give a clue to the user when semi-column inference fails to apply.

    For example in that case:

    "string" must not beNull 1 must_== 1

    There will be a compilation error as if the apply method was used between the first and second line: ("string" must not beNull).apply(1)

    For a more detailed explanation, see: http://bit.ly/12STc95

    Definition Classes
    OrMatchMatchResult
  7. def applyMatcher(m: Matcher[T]): MatchResult[T]

    alias for the apply method, to be used outside specs2

    alias for the apply method, to be used outside specs2

    Definition Classes
    MatchResult
  8. final def asInstanceOf[T0]: T0

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

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

    apply the matcher

    apply the matcher

    Definition Classes
    MatchResult
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def evaluate[S >: T]: MatchResult[S]

    the value being matched

    the value being matched

    Definition Classes
    OrMatchMatchResult
  15. val expectable: Expectable[T]

    the value being matched

    the value being matched

    Definition Classes
    OrMatchMatchResult
  16. def finalize(): Unit

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

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

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

    apply the matcher

    apply the matcher

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

    Definition Classes
    Any
  21. def isSuccess: Boolean

    Definition Classes
    MatchResult
  22. lazy val m1: MatchResult[T]

  23. lazy val m2: MatchResult[T]

  24. def message: String

    Definition Classes
    MatchResult
  25. def mute: MatchResult[T]

    returns

    the MatchResult with no messages

    Definition Classes
    MatchResult
  26. final def ne(arg0: AnyRef): Boolean

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

    returns

    the negation of this result

    Definition Classes
    OrMatchMatchResult
  28. final def notify(): Unit

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

    Definition Classes
    AnyRef
  30. def orSkip: MatchResult[T]

    Definition Classes
    MatchResult
  31. def orThrow: MatchResult[T]

    Definition Classes
    MatchResult
  32. 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
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toResult: Result

    Definition Classes
    OrMatchMatchResult → ResultLike
  35. def toSimpleResult: Result

    returns

    a result with no detailed information like location

    Definition Classes
    MatchResult
  36. def toString(): String

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

    update the failure message of this match result

    update the failure message of this match result

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MatchResult[T]

Inherited from ResultLike

Inherited from AnyRef

Inherited from Any

Ungrouped