Class

pl.newicom.dddd.test.support

GivenWhenThenTestFixture

Related Doc: package support

Permalink

abstract class GivenWhenThenTestFixture extends TestKit with ImplicitSender

Linear Supertypes
ImplicitSender, TestKit, TestKitBase, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GivenWhenThenTestFixture
  2. ImplicitSender
  3. TestKit
  4. TestKitBase
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GivenWhenThenTestFixture(_system: ActorSystem)

    Permalink

Type Members

  1. case class Given(givenFun: () ⇒ PastEvents) extends Product with Serializable

    Permalink
  2. case class PastEvents(list: List[Processed] = List.empty) extends Product with Serializable

    Permalink
  3. case class When[C <: Command](wc: WhenContext[C], whenFun: () ⇒ Unit) extends Product with Serializable

    Permalink
  4. case class WhenContext[C <: Command](commands: Seq[C], pastEvents: PastEvents = PastEvents(), params: Seq[Any] = Seq.empty) extends Product with Serializable

    Permalink

Abstract Value Members

  1. abstract def ensureOfficeTerminated(): Unit

    Permalink
  2. abstract def officeUnderTest: Office

    Permalink

Concrete 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 acksToPastEvents(acks: Seq[Processed]): PastEvents

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def awaitAssert(a: ⇒ Any, max: Duration, interval: Duration): Unit

    Permalink
    Definition Classes
    TestKitBase
  7. def awaitCond(p: ⇒ Boolean, max: Duration, interval: Duration, message: String): Unit

    Permalink
    Definition Classes
    TestKitBase
  8. def childActorOf(props: Props): ActorRef

    Permalink
    Definition Classes
    TestKitBase
  9. def childActorOf(props: Props, name: String): ActorRef

    Permalink
    Definition Classes
    TestKitBase
  10. def childActorOf(props: Props, supervisorStrategy: SupervisorStrategy): ActorRef

    Permalink
    Definition Classes
    TestKitBase
  11. def childActorOf(props: Props, name: String, supervisorStrategy: SupervisorStrategy): ActorRef

    Permalink
    Definition Classes
    TestKitBase
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. implicit final def commandGenToWhenContext[C <: Command](cGen: Gen[C]): WhenContext[C]

    Permalink
    Annotations
    @tailrec()
  14. implicit def commandGenWithParamToWhenContext[C <: Command](cGen: Gen[(C, Any)]): WhenContext[C]

    Permalink
  15. def commandMetaDataProvider(c: Command): Option[MetaData]

    Permalink
  16. implicit def commandToWhenContext[C <: Command](c: C): WhenContext[C]

    Permalink
  17. implicit def commandsToWhenContext[C <: Command](cs: Seq[C]): WhenContext[C]

    Permalink
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def expectMsg[T](max: FiniteDuration, hint: String, obj: T): T

    Permalink
    Definition Classes
    TestKitBase
  21. def expectMsg[T](max: FiniteDuration, obj: T): T

    Permalink
    Definition Classes
    TestKitBase
  22. def expectMsg[T](obj: T): T

    Permalink
    Definition Classes
    TestKitBase
  23. def expectMsgAllClassOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]

    Permalink
    Definition Classes
    TestKitBase
  24. def expectMsgAllClassOf[T](obj: Class[_ <: T]*): Seq[T]

    Permalink
    Definition Classes
    TestKitBase
  25. def expectMsgAllConformingOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]

    Permalink
    Definition Classes
    TestKitBase
  26. def expectMsgAllConformingOf[T](obj: Class[_ <: T]*): Seq[T]

    Permalink
    Definition Classes
    TestKitBase
  27. def expectMsgAllOf[T](max: FiniteDuration, obj: T*): Seq[T]

    Permalink
    Definition Classes
    TestKitBase
  28. def expectMsgAllOf[T](obj: T*): Seq[T]

    Permalink
    Definition Classes
    TestKitBase
  29. def expectMsgAnyClassOf[C](max: FiniteDuration, obj: Class[_ <: C]*): C

    Permalink
    Definition Classes
    TestKitBase
  30. def expectMsgAnyClassOf[C](obj: Class[_ <: C]*): C

    Permalink
    Definition Classes
    TestKitBase
  31. def expectMsgAnyOf[T](max: FiniteDuration, obj: T*): T

    Permalink
    Definition Classes
    TestKitBase
  32. def expectMsgAnyOf[T](obj: T*): T

    Permalink
    Definition Classes
    TestKitBase
  33. def expectMsgClass[C](max: FiniteDuration, c: Class[C]): C

    Permalink
    Definition Classes
    TestKitBase
  34. def expectMsgClass[C](c: Class[C]): C

    Permalink
    Definition Classes
    TestKitBase
  35. def expectMsgPF[T](max: Duration, hint: String)(f: PartialFunction[Any, T]): T

    Permalink
    Definition Classes
    TestKitBase
  36. def expectMsgType[T](max: FiniteDuration)(implicit t: ClassTag[T]): T

    Permalink
    Definition Classes
    TestKitBase
  37. def expectMsgType[T](implicit t: ClassTag[T]): T

    Permalink
    Definition Classes
    TestKitBase
  38. def expectNoMsg(max: FiniteDuration): Unit

    Permalink
    Definition Classes
    TestKitBase
  39. def expectNoMsg(): Unit

    Permalink
    Definition Classes
    TestKitBase
  40. def expectTerminated(target: ActorRef, max: Duration): Terminated

    Permalink
    Definition Classes
    TestKitBase
  41. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. def first[E](implicit wc: WhenContext[_], ct: ClassTag[E]): E

    Permalink
  43. def fishForMessage(max: Duration, hint: String)(f: PartialFunction[Any, Boolean]): Any

    Permalink
    Definition Classes
    TestKitBase
  44. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  45. def given(cs: Command*): Given

    Permalink
  46. def given(cs: List[Command]): Given

    Permalink
  47. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  48. def ignoreMsg(f: PartialFunction[Any, Boolean]): Unit

    Permalink
    Definition Classes
    TestKitBase
  49. def ignoreNoMsg(): Unit

    Permalink
    Definition Classes
    TestKitBase
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. def lastSender: ActorRef

    Permalink
    Definition Classes
    TestKitBase
  52. def msgAvailable: Boolean

    Permalink
    Definition Classes
    TestKitBase
  53. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  56. def now: FiniteDuration

    Permalink
    Definition Classes
    TestKitBase
  57. def past[E](implicit wc: WhenContext[_], ct: ClassTag[E]): E

    Permalink
  58. def receiveN(n: Int, max: FiniteDuration): Seq[AnyRef]

    Permalink
    Definition Classes
    TestKitBase
  59. def receiveN(n: Int): Seq[AnyRef]

    Permalink
    Definition Classes
    TestKitBase
  60. def receiveOne(max: Duration): AnyRef

    Permalink
    Definition Classes
    TestKitBase
  61. def receiveWhile[T](max: Duration, idle: Duration, messages: Int)(f: PartialFunction[AnyRef, T]): Seq[T]

    Permalink
    Definition Classes
    TestKitBase
  62. def remaining: FiniteDuration

    Permalink
    Definition Classes
    TestKitBase
  63. def remainingOr(duration: FiniteDuration): FiniteDuration

    Permalink
    Definition Classes
    TestKitBase
  64. def remainingOrDefault: FiniteDuration

    Permalink
    Definition Classes
    TestKitBase
  65. implicit def self: ActorRef

    Permalink
    Definition Classes
    ImplicitSender
  66. def setAutoPilot(pilot: AutoPilot): Unit

    Permalink
    Definition Classes
    TestKitBase
  67. def shutdown(actorSystem: ActorSystem, duration: Duration, verifySystemShutdown: Boolean): Unit

    Permalink
    Definition Classes
    TestKitBase
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  69. implicit val system: ActorSystem

    Permalink
    Definition Classes
    TestKit → TestKitBase
  70. val testActor: ActorRef

    Permalink
    Definition Classes
    TestKitBase
  71. def testActorName: String

    Permalink
    Attributes
    protected
    Definition Classes
    TestKitBase
  72. val testKitSettings: TestKitSettings

    Permalink
    Definition Classes
    TestKitBase
  73. val timeoutGiven: Timeout

    Permalink
  74. val timeoutThen: Timeout

    Permalink
  75. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  76. def unwatch(ref: ActorRef): ActorRef

    Permalink
    Definition Classes
    TestKitBase
  77. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. def watch(ref: ActorRef): ActorRef

    Permalink
    Definition Classes
    TestKitBase
  81. def when[C <: Command](wc: WhenContext[C]): When[C]

    Permalink
  82. implicit def whenContextToCommand[C <: Command](wc: WhenContext[C]): C

    Permalink
  83. implicit def whenContextToPastEvents[C <: Command](wc: WhenContext[C]): PastEvents

    Permalink
  84. def whenF(whenFun: ⇒ Unit): When[Command]

    Permalink
  85. def within[T](max: FiniteDuration)(f: ⇒ T): T

    Permalink
    Definition Classes
    TestKitBase
  86. def within[T](min: FiniteDuration, max: FiniteDuration)(f: ⇒ T): T

    Permalink
    Definition Classes
    TestKitBase

Inherited from ImplicitSender

Inherited from TestKit

Inherited from TestKitBase

Inherited from AnyRef

Inherited from Any

Ungrouped