Trait/Object

org.specs2.matcher

JUnitMustExpectations

Related Docs: object JUnitMustExpectations | package matcher

Permalink

trait JUnitMustExpectations extends MustThrownExpectations with JUnitExpectations

This trait can be imported to use MustMatchers in JUnit

Linear Supertypes
JUnitExpectations, ThrownExpectations, ThrownStandardMatchResults, ThrownStandardResults, MustThrownExpectations, MustThrownExpectables, MustThrownExpectations1, StandardMatchResults, StandardResults, MustThrownExpectationsCreation, ThrownExpectationsCreation, ThrownExpectables, 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. ThrownStandardMatchResults
  5. ThrownStandardResults
  6. MustThrownExpectations
  7. MustThrownExpectables
  8. MustThrownExpectations1
  9. StandardMatchResults
  10. StandardResults
  11. MustThrownExpectationsCreation
  12. ThrownExpectationsCreation
  13. ThrownExpectables
  14. MustExpectations
  15. TypedEqual
  16. ExpectationsDescription
  17. MustExpectations1
  18. MustExpectationsCreation
  19. ExpectationsCreation
  20. MatchResultStackTrace
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Descriptible[T] extends AnyRef

    Permalink
    Definition Classes
    ExpectationsDescription
  2. class ExpectationDescription extends AnyRef

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

    Permalink
    Definition Classes
    TypedEqual

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

    Permalink
    Definition Classes
    MustThrownExpectables → MustExpectations
  5. def anError: Error

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ThrownExpectables → ExpectationsCreation
  16. def createMustExpectable[T](t: ⇒ T): MustExpectable[T]

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

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

    Permalink
    Definition Classes
    ExpectationsDescription
  19. def done: Success

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MustExpectations1
  51. def toString(): String

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

    Permalink
    Definition Classes
    ThrownStandardResults → StandardResults
  53. implicit def typedEqualExpectation[T](t: ⇒ T): TypedEqualExpectation[T]

    Permalink
    Definition Classes
    TypedEqual
  54. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. 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 JUnitExpectations

Inherited from ThrownExpectations

Inherited from ThrownStandardMatchResults

Inherited from ThrownStandardResults

Inherited from MustThrownExpectations

Inherited from MustThrownExpectables

Inherited from MustThrownExpectations1

Inherited from StandardMatchResults

Inherited from StandardResults

Inherited from MustThrownExpectationsCreation

Inherited from ThrownExpectationsCreation

Inherited from ThrownExpectables

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