org.specs2.matcher

JUnitMustExpectations

trait JUnitMustExpectations extends MustThrownExpectations with JUnitExpectations

This trait can be imported to use MustMatchers in JUnit

Linear Supertypes
JUnitExpectations, ThrownExpectations, MustThrownExpectations, MustThrownExpectations1, MustThrownExpectationsCreation, ThrownExpectationsCreation, StandardMatchResults, StandardResults, MustExpectations, TypedEqual, ExpectationsDescription, MustExpectations1, MustExpectationsCreation, ExpectationsCreation, MatchResultStackTrace, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JUnitMustExpectations
  2. JUnitExpectations
  3. ThrownExpectations
  4. MustThrownExpectations
  5. MustThrownExpectations1
  6. MustThrownExpectationsCreation
  7. ThrownExpectationsCreation
  8. StandardMatchResults
  9. StandardResults
  10. MustExpectations
  11. TypedEqual
  12. ExpectationsDescription
  13. MustExpectations1
  14. MustExpectationsCreation
  15. ExpectationsCreation
  16. MatchResultStackTrace
  17. AnyRef
  18. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Descriptible[T] extends AnyRef

    Definition Classes
    ExpectationsDescription
  2. class ExpectationDescription extends AnyRef

    Definition Classes
    ExpectationsDescription
  3. class TypedEqualExpectation[T] extends AnyRef

    Definition Classes
    TypedEqual

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. implicit def akaMust[T](tm: Expectable[T]): MustExpectable[T]

    Definition Classes
    MustThrownExpectations → MustExpectations
  7. def anError: Error

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    ThrownExpectationsCreation → ExpectationsCreation
  18. def createMustExpectable[T](t: ⇒ T): MustExpectable[T]

    Attributes
    protected
    Definition Classes
    MustThrownExpectationsCreation → MustExpectationsCreation
  19. implicit def describe[T](t: ⇒ T): Descriptible[T]

    Definition Classes
    ExpectationsDescription
  20. implicit def describeExpectation(description: String): ExpectationDescription

    Definition Classes
    ExpectationsDescription
  21. def done: Success

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

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

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

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

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  26. def failure: Failure

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  41. def pending: Pending

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

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

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

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

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

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  47. def skipped: Skipped

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

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

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

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

    Definition Classes
    AnyRef
  52. implicit def theBlock(t: ⇒ Nothing): MustExpectable[Nothing]

    Definition Classes
    MustExpectations
  53. implicit def theValue[T](t: ⇒ T): MustExpectable[T]

    Definition Classes
    MustExpectations1
  54. def toString(): String

    Definition Classes
    AnyRef → Any
  55. def todo: Pending

    Definition Classes
    ThrownExpectationsCreation → StandardResults
  56. implicit def typedEqualExpectation[T](t: ⇒ T): TypedEqualExpectation[T]

    Definition Classes
    TypedEqual
  57. final def wait(): Unit

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

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

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

    Definition Classes
    StandardResults

Inherited from JUnitExpectations

Inherited from ThrownExpectations

Inherited from MustThrownExpectations

Inherited from MustThrownExpectations1

Inherited from MustThrownExpectationsCreation

Inherited from ThrownExpectationsCreation

Inherited from StandardMatchResults

Inherited from StandardResults

Inherited from MustExpectations

Inherited from TypedEqual

Inherited from ExpectationsDescription

Inherited from MustExpectations1

Inherited from MustExpectationsCreation

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped