Trait

org.specs2.matcher

JUnitExpectations

Related Doc: package matcher

Permalink

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
Visibility
  1. Public
  2. All

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. def anError: Error

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ThrownExpectables → ExpectationsCreation
  15. def done: Success

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

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

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

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

    Permalink
    Definition Classes
    ThrownStandardResults → StandardResults
  20. def failure: Failure

    Permalink
    Definition Classes
    ThrownStandardResults → StandardResults
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. def ok(m: String): MatchResult[Any]

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

    Permalink
    Definition Classes
    StandardMatchResults
  32. def pending(p: Pending): Pending

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

    Permalink
    Definition Classes
    ThrownStandardResults → StandardResults
  34. def pending: Pending

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

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

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

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

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

    Permalink
    Definition Classes
    ThrownStandardResults → StandardResults
  40. def skipped: Skipped

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  43. lazy val success: Success

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

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. def todo: Pending

    Permalink
    Definition Classes
    ThrownStandardResults → StandardResults
  47. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(): Unit

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

    Permalink
    Definition Classes
    StandardResults

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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