Trait/Object

org.specs2.matcher

JUnitShouldExpectations

Related Docs: object JUnitShouldExpectations | package matcher

Permalink

trait JUnitShouldExpectations extends ShouldThrownExpectations with JUnitExpectations

This trait can be imported to use ShouldMatchers in JUnit

Linear Supertypes
JUnitExpectations, ShouldThrownExpectations, ShouldExpectations, Expectations, ExpectationsDescription, TypedEqual, ThrownExpectations, ThrownExpectationsCreation, StandardMatchResults, StandardResults, ExpectationsCreation, MatchResultStackTrace, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JUnitShouldExpectations
  2. JUnitExpectations
  3. ShouldThrownExpectations
  4. ShouldExpectations
  5. Expectations
  6. ExpectationsDescription
  7. TypedEqual
  8. ThrownExpectations
  9. ThrownExpectationsCreation
  10. StandardMatchResults
  11. StandardResults
  12. ExpectationsCreation
  13. MatchResultStackTrace
  14. AnyRef
  15. 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 akaShould[T](tm: Expectable[T]): ShouldExpectable[T]

    Permalink
    Definition Classes
    ShouldThrownExpectations → ShouldExpectations
  5. def anError: Error

    Permalink
    Definition Classes
    ThrownExpectationsCreation → 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
    ThrownExpectationsCreation → ExpectationsCreation
  9. def checkResultFailure(result: ⇒ Result): Result

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

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

    Permalink
    Definition Classes
    ThrownExpectationsCreation → 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
    ThrownExpectationsCreation → ExpectationsCreation
  16. def createShouldExpectable[T](t: ⇒ T): ShouldExpectable[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ShouldThrownExpectations → ShouldExpectations
  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
    ThrownExpectationsCreation
  23. def failure(m: String): Failure

    Permalink
    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  24. def failure: Failure

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

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

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

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

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

    Permalink
    Definition Classes
    ThrownExpectationsCreation → StandardResults
  39. def pending: Pending

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

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

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

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

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

    Permalink
    Definition Classes
    ThrownExpectationsCreation → StandardResults
  45. def skipped: Skipped

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  48. lazy val success: Success

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

    Permalink
    Definition Classes
    AnyRef
  50. implicit def thisBlock(t: ⇒ Nothing): ShouldExpectable[Nothing]

    Permalink
    Definition Classes
    ShouldExpectations
  51. implicit def thisValue[T](t: ⇒ T): ShouldExpectable[T]

    Permalink
    Definition Classes
    ShouldExpectations
  52. def toString(): String

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

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

    Permalink
    Definition Classes
    TypedEqual
  55. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    StandardResults

Inherited from JUnitExpectations

Inherited from ShouldThrownExpectations

Inherited from ShouldExpectations

Inherited from Expectations

Inherited from ExpectationsDescription

Inherited from TypedEqual

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