org.specs2.matcher

JUnitExpectations

trait JUnitExpectations extends ThrownExpectations

This trait throws AssertionFailed errors when a match fails.

It is involved when reusing Matchers with JUnit

Linear Supertypes
ThrownExpectations, ThrownStandardMatchResults, StandardMatchResults, ThrownStandardResults, StandardResults, ThrownExpectationsCreation, ThrownExpectables, ExpectationsCreation, MatchResultStackTrace, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JUnitExpectations
  2. ThrownExpectations
  3. ThrownStandardMatchResults
  4. StandardMatchResults
  5. ThrownStandardResults
  6. StandardResults
  7. ThrownExpectationsCreation
  8. ThrownExpectables
  9. ExpectationsCreation
  10. MatchResultStackTrace
  11. AnyRef
  12. 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 anError: Error

    Definition Classes
    ThrownStandardResults → StandardResults
  7. final def asInstanceOf[T0]: T0

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

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

    Attributes
    protected
    Definition Classes
    ThrownExpectables → ExpectationsCreation
  10. def checkResultFailure(result: ⇒ Result): Result

    Attributes
    protected
    Definition Classes
    ThrownExpectables → ExpectationsCreation
  11. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    ThrownExpectables → ExpectationsCreation
  17. def done: Success

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

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

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

    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  21. def failure(m: String): Failure

    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  22. def failure: Failure

    Definition Classes
    ThrownStandardResults → StandardResults
  23. def finalize(): Unit

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

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

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

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

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

    Definition Classes
    ThrownStandardMatchResults → StandardMatchResults
  29. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  36. def pending(m: String): Pending

    Definition Classes
    ThrownStandardResults → StandardResults
  37. def pending: Pending

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

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

    Definition Classes
    ThrownStandardMatchResults → ExpectationsCreation
  40. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

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

    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  42. def skipped(m: String): Skipped

    Definition Classes
    ThrownStandardResults → StandardResults
  43. def skipped: Skipped

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

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

    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  46. lazy val success: Success

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

    Definition Classes
    AnyRef
  48. def toString(): String

    Definition Classes
    AnyRef → Any
  49. def todo: Pending

    Definition Classes
    ThrownStandardResults → StandardResults
  50. final def wait(): Unit

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

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

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

    Definition Classes
    StandardResults

Inherited from ThrownExpectations

Inherited from ThrownStandardMatchResults

Inherited from StandardMatchResults

Inherited from ThrownStandardResults

Inherited from StandardResults

Inherited from ThrownExpectationsCreation

Inherited from ThrownExpectables

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped