org.specs2.matcher

JUnitExpectations

Related Doc: package matcher

trait JUnitExpectations extends ThrownExpectations

This trait throws AssertionFailed errors when a match fails.

It is involved when reusing Matchers with JUnit

Linear Supertypes
ThrownExpectations, ThrownExpectationsCreation, StandardMatchResults, StandardResults, ExpectationsCreation, MatchResultStackTrace, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JUnitExpectations
  2. ThrownExpectations
  3. ThrownExpectationsCreation
  4. StandardMatchResults
  5. StandardResults
  6. ExpectationsCreation
  7. MatchResultStackTrace
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def anError: Error

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  5. final def asInstanceOf[T0]: T0

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

    Attributes
    protected
    Definition Classes
    JUnitExpectations → ExpectationsCreation
  7. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation → ExpectationsCreation
  8. def checkResultFailure(result: ⇒ Result): Result

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation → ExpectationsCreation
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

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

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

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

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

    Definition Classes
    ThrownExpectationsCreation → ExpectationsCreation
  15. def done: Success

    Definition Classes
    StandardResults
  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def failure(f: Failure): Failure

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  19. def failure(m: String): Failure

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  20. def failure: Failure

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  21. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  25. def ko(m: String): MatchResult[Any]

    Definition Classes
    StandardMatchResults
  26. lazy val ko: MatchResult[Any]

    Definition Classes
    ThrownExpectationsCreation → StandardMatchResults
  27. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  31. def ok(m: String): MatchResult[Any]

    Definition Classes
    StandardMatchResults
  32. lazy val ok: MatchResult[Any]

    Definition Classes
    StandardMatchResults
  33. def pending(p: Pending): Pending

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  34. def pending(m: String): Pending

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  35. def pending: Pending

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  36. def pending[R](r: ⇒ R)(implicit arg0: AsResult[R]): Pending

    Definition Classes
    StandardResults
  37. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

    Definition Classes
    ThrownExpectationsCreation → ExpectationsCreation
  38. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  39. def skipped(s: Skipped): Skipped

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  40. def skipped(m: String): Skipped

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  41. def skipped: Skipped

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  42. def skipped[R](r: ⇒ R)(implicit arg0: AsResult[R]): Skipped

    Definition Classes
    StandardResults
  43. def success(m: String): Success

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  44. lazy val success: Success

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def todo: Pending

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  48. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def wontdo: Success

    Definition Classes
    StandardResults

Inherited from ThrownExpectations

Inherited from ThrownExpectationsCreation

Inherited from StandardMatchResults

Inherited from StandardResults

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped