Packages

trait ShouldThrownExpectations extends ShouldThrownExpectables with StandardResults with StandardMatchResults

This trait provides implicit definitions to transform any value into a ShouldExpectable, throwing exceptions when a match fails

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShouldThrownExpectations
  2. ShouldThrownExpectables
  3. ShouldExpectations
  4. Expectations
  5. ExpectationsDescription
  6. TypedEqual
  7. ThrownExpectations
  8. ThrownStandardMatchResults
  9. StandardMatchResults
  10. ThrownStandardResults
  11. StandardResults
  12. ThrownExpectationsCreation
  13. ThrownExpectables
  14. ExpectationsCreation
  15. MatchResultStackTrace
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def akaShould[T](tm: Expectable[T]): ShouldExpectable[T]
  5. def anError: Error
    Definition Classes
    ThrownStandardResults → StandardResults
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to throw exceptions when checking the match result

    this method can be overridden to throw exceptions when checking the match result

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

    this method can be overriden to throw exceptions when checking the match result

    this method can be overriden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    ThrownExpectablesExpectationsCreation
  9. def checkResultFailure(result: => Result): Result

    this method can be overridden to throw exceptions when checking the result

    this method can be overridden to throw exceptions when checking the result

    Attributes
    protected
    Definition Classes
    ThrownExpectablesExpectationsCreation
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def createExpectable[T](t: => T, alias: Option[(String) => String]): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    ThrownExpectablesExpectationsCreation
  12. def createExpectable[T](t: => T, alias: (String) => String): Expectable[T]

    returns

    an Expectable with a description function

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

    returns

    an Expectable with a description

    Definition Classes
    ExpectationsCreation
  14. def createExpectable[T](t: => T): Expectable[T]

    returns

    an Expectable

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

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ThrownExpectablesExpectationsCreation
  16. def createShouldExpectable[T](t: => T): ShouldExpectable[T]
    Attributes
    protected
    Definition Classes
    ShouldThrownExpectablesShouldExpectations
  17. implicit def describe[T](t: => T): Descriptible[T]

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    ExpectationsDescription
  18. implicit def describeExpectation(description: String): ExpectationDescription
    Definition Classes
    ExpectationsDescription
  19. def done: Success
    Definition Classes
    StandardResults
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def failure(f: Failure): Failure
    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  23. def failure(m: String): Failure
    Definition Classes
    ThrownStandardResults → StandardResults
  24. def failure: Failure
    Definition Classes
    ThrownStandardResults → StandardResults
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def ko(m: String): MatchResult[Any]
    Definition Classes
    StandardMatchResults
  30. lazy val ko: MatchResult[Any]
  31. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to intercept a MatchResult and change its message before it is thrown

    this method can be overridden to intercept a MatchResult and change its message before it is thrown

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def ok(m: String): MatchResult[Any]
    Definition Classes
    StandardMatchResults
  36. lazy val ok: MatchResult[Any]
    Definition Classes
    StandardMatchResults
  37. def pending(p: Pending): Pending
    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  38. def pending(m: String): Pending
    Definition Classes
    ThrownStandardResults → StandardResults
  39. def pending: Pending
    Definition Classes
    ThrownStandardResults → StandardResults
  40. def pending[R](r: => R)(implicit arg0: AsResult[R]): Pending
    Definition Classes
    StandardResults
  41. def sandboxMatchResult[T](mr: => MatchResult[T]): MatchResult[T]

    returns

    the value without any side-effects for expectations

    Definition Classes
    ThrownStandardMatchResultsExpectationsCreation
  42. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

    this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  43. def skipped(s: Skipped): Skipped
    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  44. def skipped(m: String): Skipped
    Definition Classes
    ThrownStandardResults → StandardResults
  45. def skipped: Skipped
    Definition Classes
    ThrownStandardResults → StandardResults
  46. def skipped[R](r: => R)(implicit arg0: AsResult[R]): Skipped
    Definition Classes
    StandardResults
  47. def success(m: String): Success
    Attributes
    protected
    Definition Classes
    ThrownStandardResults
  48. lazy val success: Success
    Definition Classes
    ThrownStandardResults → StandardResults
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. implicit def thisBlock(t: => Nothing): ShouldExpectable[Nothing]
    Definition Classes
    ShouldExpectations
  51. implicit def thisValue[T](t: => T): ShouldExpectable[T]
    Definition Classes
    ShouldExpectations
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. def todo: Pending
    Definition Classes
    ThrownStandardResults → StandardResults
  54. implicit def typedEqualExpectation[T](t: => T): TypedEqualExpectation[T]

    A value can be tested against another with the === operator.

    A value can be tested against another with the === operator. It is equivalent to writing a must_== b

    Definition Classes
    TypedEqual
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. def wontdo: Success
    Definition Classes
    StandardResults

Inherited from ShouldExpectations

Inherited from Expectations

Inherited from TypedEqual

Inherited from ThrownExpectations

Inherited from StandardMatchResults

Inherited from ThrownStandardResults

Inherited from StandardResults

Inherited from ThrownExpectables

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped