Packages

c

lerna.testkit.akka

ScalaTestWithClassicActorTestKit

abstract class ScalaTestWithClassicActorTestKit extends TestKit with TestSuite with BeforeAndAfterAll with ScalaFutures with Eventually with ImplicitSender with AkkaPatienceConfigurationSupport with AkkaSpanScaleFactorSupport

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaTestWithClassicActorTestKit
  2. AkkaSpanScaleFactorSupport
  3. AkkaPatienceConfigurationSupport
  4. ImplicitSender
  5. Eventually
  6. ScalaFutures
  7. Futures
  8. PatienceConfiguration
  9. AbstractPatienceConfiguration
  10. ScaledTimeSpans
  11. BeforeAndAfterAll
  12. SuiteMixin
  13. TestSuite
  14. Suite
  15. Serializable
  16. Serializable
  17. Assertions
  18. TripleEquals
  19. TripleEqualsSupport
  20. TestKit
  21. TestKitBase
  22. AnyRef
  23. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaTestWithClassicActorTestKit(system: ActorSystem)

Type Members

  1. class AssertionsHelper extends AnyRef
    Definition Classes
    Assertions
  2. class CheckingEqualizer[L] extends AnyRef
    Definition Classes
    TripleEqualsSupport
  3. class Equalizer[L] extends AnyRef
    Definition Classes
    TripleEqualsSupport
  4. trait FutureConcept[T] extends AnyRef
    Definition Classes
    Futures
  5. trait NoArgTest extends () ⇒ Outcome with TestData
    Attributes
    protected
    Definition Classes
    TestSuite
  6. final case class PatienceConfig extends Product with Serializable
    Definition Classes
    AbstractPatienceConfiguration

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
    Definition Classes
    TripleEqualsSupport
  3. def !==(right: Null): TripleEqualsInvocation[Null]
    Definition Classes
    TripleEqualsSupport
  4. def !==[T](right: T): TripleEqualsInvocation[T]
    Definition Classes
    TripleEqualsSupport
  5. final def ##(): Int
    Definition Classes
    AnyRef → Any
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
    Definition Classes
    TripleEqualsSupport
  8. def ===(right: Null): TripleEqualsInvocation[Null]
    Definition Classes
    TripleEqualsSupport
  9. def ===[T](right: T): TripleEqualsInvocation[T]
    Definition Classes
    TripleEqualsSupport
  10. def afterAll(): Unit
    Definition Classes
    ScalaTestWithClassicActorTestKit → BeforeAndAfterAll
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  13. macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  14. macro def assertCompiles(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  15. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  16. def assertForDuration[A](a: ⇒ A, max: FiniteDuration, interval: Duration): A
    Definition Classes
    TestKitBase
  17. def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  18. def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  19. def assertThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): Assertion
    Definition Classes
    Assertions
  20. macro def assertTypeError(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  21. val assertionsHelper: AssertionsHelper
    Definition Classes
    Assertions
  22. macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  23. macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  24. def awaitAssert[A](a: ⇒ A, max: Duration, interval: Duration): A
    Definition Classes
    TestKitBase
  25. def awaitCond(p: ⇒ Boolean, max: Duration, interval: Duration, message: String): Unit
    Definition Classes
    TestKitBase
  26. def beforeAll(): Unit
    Attributes
    protected
    Definition Classes
    BeforeAndAfterAll
  27. def cancel(cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  28. def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  29. def cancel(message: String)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  30. def cancel()(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  31. def childActorOf(props: Props): ActorRef
    Definition Classes
    TestKitBase
  32. def childActorOf(props: Props, name: String): ActorRef
    Definition Classes
    TestKitBase
  33. def childActorOf(props: Props, supervisorStrategy: SupervisorStrategy): ActorRef
    Definition Classes
    TestKitBase
  34. def childActorOf(props: Props, name: String, supervisorStrategy: SupervisorStrategy): ActorRef
    Definition Classes
    TestKitBase
  35. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  37. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  38. def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  39. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  40. def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  41. implicit def convertScalaFuture[T](scalaFuture: Future[T]): FutureConcept[T]
    Definition Classes
    ScalaFutures
  42. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  43. implicit def convertToEqualizer[T](left: T): Equalizer[T]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  44. def defaultEquality[A]: Equality[A]
    Definition Classes
    TripleEqualsSupport
  45. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  47. def eventually[T](fun: ⇒ T)(implicit config: PatienceConfig, pos: Position): T
    Definition Classes
    Eventually
  48. def eventually[T](interval: Interval)(fun: ⇒ T)(implicit config: PatienceConfig, pos: Position): T
    Definition Classes
    Eventually
  49. def eventually[T](timeout: Timeout)(fun: ⇒ T)(implicit config: PatienceConfig, pos: Position): T
    Definition Classes
    Eventually
  50. def eventually[T](timeout: Timeout, interval: Interval)(fun: ⇒ T)(implicit pos: Position): T
    Definition Classes
    Eventually
  51. final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit
    Definition Classes
    Suite
  52. def expectMsg[T](max: FiniteDuration, hint: String, obj: T): T
    Definition Classes
    TestKitBase
  53. def expectMsg[T](max: FiniteDuration, obj: T): T
    Definition Classes
    TestKitBase
  54. def expectMsg[T](obj: T): T
    Definition Classes
    TestKitBase
  55. def expectMsgAllClassOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]
    Definition Classes
    TestKitBase
  56. def expectMsgAllClassOf[T](obj: Class[_ <: T]*): Seq[T]
    Definition Classes
    TestKitBase
  57. def expectMsgAllConformingOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]
    Definition Classes
    TestKitBase
  58. def expectMsgAllConformingOf[T](obj: Class[_ <: T]*): Seq[T]
    Definition Classes
    TestKitBase
  59. def expectMsgAllOf[T](max: FiniteDuration, obj: T*): Seq[T]
    Definition Classes
    TestKitBase
  60. def expectMsgAllOf[T](obj: T*): Seq[T]
    Definition Classes
    TestKitBase
  61. def expectMsgAnyClassOf[C](max: FiniteDuration, obj: Class[_ <: C]*): C
    Definition Classes
    TestKitBase
  62. def expectMsgAnyClassOf[C](obj: Class[_ <: C]*): C
    Definition Classes
    TestKitBase
  63. def expectMsgAnyOf[T](max: FiniteDuration, obj: T*): T
    Definition Classes
    TestKitBase
  64. def expectMsgAnyOf[T](obj: T*): T
    Definition Classes
    TestKitBase
  65. def expectMsgClass[C](max: FiniteDuration, c: Class[C]): C
    Definition Classes
    TestKitBase
  66. def expectMsgClass[C](c: Class[C]): C
    Definition Classes
    TestKitBase
  67. def expectMsgPF[T](max: Duration, hint: String)(f: PartialFunction[Any, T]): T
    Definition Classes
    TestKitBase
  68. def expectMsgType[T](max: FiniteDuration)(implicit t: ClassTag[T]): T
    Definition Classes
    TestKitBase
  69. def expectMsgType[T](implicit t: ClassTag[T]): T
    Definition Classes
    TestKitBase
  70. def expectNoMessage(): Unit
    Definition Classes
    TestKitBase
  71. def expectNoMessage(max: FiniteDuration): Unit
    Definition Classes
    TestKitBase
  72. def expectTerminated(target: ActorRef, max: Duration): Terminated
    Definition Classes
    TestKitBase
  73. def expectedTestCount(filter: Filter): Int
    Definition Classes
    Suite
  74. def fail(cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  75. def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  76. def fail(message: String)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  77. def fail()(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  78. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  79. def fishForMessage(max: Duration, hint: String)(f: PartialFunction[Any, Boolean]): Any
    Definition Classes
    TestKitBase
  80. def fishForSpecificMessage[T](max: Duration, hint: String)(f: PartialFunction[Any, T]): T
    Definition Classes
    TestKitBase
  81. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  82. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  83. def ignoreMsg(f: PartialFunction[Any, Boolean]): Unit
    Definition Classes
    TestKitBase
  84. def ignoreNoMsg(): Unit
    Definition Classes
    TestKitBase
  85. def intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T
    Definition Classes
    Assertions
  86. def interval(value: Span): Interval
    Definition Classes
    PatienceConfiguration
  87. val invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected: Boolean
    Definition Classes
    BeforeAndAfterAll
  88. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  89. def lastSender: ActorRef
    Definition Classes
    TestKitBase
  90. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  91. def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  92. def msgAvailable: Boolean
    Definition Classes
    TestKitBase
  93. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  94. def nestedSuites: IndexedSeq[Suite]
    Definition Classes
    Suite
  95. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  96. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  97. def now: FiniteDuration
    Definition Classes
    TestKitBase
  98. implicit lazy val patienceConfig: PatienceConfig

    PatienceConfig from akka.testkit.TestKitSettings.DefaultTimeout

    Definition Classes
    AkkaPatienceConfigurationSupport → PatienceConfiguration → AbstractPatienceConfiguration
  99. def pending: Assertion with PendingStatement
    Definition Classes
    Assertions
  100. def pendingUntilFixed(f: ⇒ Unit)(implicit pos: Position): Assertion with PendingStatement
    Definition Classes
    Assertions
  101. def receiveN(n: Int, max: FiniteDuration): Seq[AnyRef]
    Definition Classes
    TestKitBase
  102. def receiveN(n: Int): Seq[AnyRef]
    Definition Classes
    TestKitBase
  103. def receiveOne(max: Duration): AnyRef
    Definition Classes
    TestKitBase
  104. def receiveWhile[T](max: Duration, idle: Duration, messages: Int)(f: PartialFunction[AnyRef, T]): Seq[T]
    Definition Classes
    TestKitBase
  105. def remaining: FiniteDuration
    Definition Classes
    TestKitBase
  106. def remainingOr(duration: FiniteDuration): FiniteDuration
    Definition Classes
    TestKitBase
  107. def remainingOrDefault: FiniteDuration
    Definition Classes
    TestKitBase
  108. def rerunner: Option[String]
    Definition Classes
    Suite
  109. def run(testName: Option[String], args: Args): Status
    Definition Classes
    BeforeAndAfterAll → SuiteMixin
  110. def runNestedSuites(args: Args): Status
    Attributes
    protected
    Definition Classes
    Suite
  111. def runTest(testName: String, args: Args): Status
    Attributes
    protected
    Definition Classes
    TestSuite → Suite
  112. def runTests(testName: Option[String], args: Args): Status
    Attributes
    protected
    Definition Classes
    Suite
  113. final def scaled(span: Span): Span
    Definition Classes
    ScaledTimeSpans
  114. implicit def self: ActorRef
    Definition Classes
    ImplicitSender
  115. def setAutoPilot(pilot: AutoPilot): Unit
    Definition Classes
    TestKitBase
  116. def shutdown(actorSystem: ActorSystem, duration: Duration, verifySystemShutdown: Boolean): Unit
    Definition Classes
    TestKitBase
  117. def spanScaleFactor: Double

    Configure the ScalaTest time factor from Akka TestKit's test time factor.

    Configure the ScalaTest time factor from Akka TestKit's test time factor.

    Configure the timefactor in your configuration file like this: akka.test.timefactor = 3.0

    See also: ScaledTimeSpans

    Definition Classes
    AkkaSpanScaleFactorSupport → ScaledTimeSpans
  118. val styleName: String
    Definition Classes
    Suite
  119. final val succeed: Assertion
    Definition Classes
    Assertions
  120. def suiteId: String
    Definition Classes
    Suite
  121. def suiteName: String
    Definition Classes
    Suite
  122. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  123. implicit val system: ActorSystem
    Definition Classes
    TestKit → TestKitBase
  124. def tags: Map[String, Set[String]]
    Definition Classes
    Suite
  125. val testActor: ActorRef
    Definition Classes
    TestKitBase
  126. def testActorName: String
    Attributes
    protected
    Definition Classes
    TestKitBase
  127. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData
    Definition Classes
    Suite
  128. val testKitSettings: TestKitSettings
    Definition Classes
    TestKitBase
  129. def testNames: Set[String]
    Definition Classes
    Suite
  130. def timeout(value: Span): Timeout
    Definition Classes
    PatienceConfiguration
  131. def toString(): String
    Definition Classes
    AnyRef → Any
  132. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  133. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  134. def unwatch(ref: ActorRef): ActorRef
    Definition Classes
    TestKitBase
  135. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  136. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  137. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  138. def watch(ref: ActorRef): ActorRef
    Definition Classes
    TestKitBase
  139. final def whenReady[T, U](future: FutureConcept[T])(fun: (T) ⇒ U)(implicit config: PatienceConfig, pos: Position): U
    Definition Classes
    Futures
  140. final def whenReady[T, U](future: FutureConcept[T], interval: Interval)(fun: (T) ⇒ U)(implicit config: PatienceConfig, pos: Position): U
    Definition Classes
    Futures
  141. final def whenReady[T, U](future: FutureConcept[T], timeout: Timeout)(fun: (T) ⇒ U)(implicit config: PatienceConfig, pos: Position): U
    Definition Classes
    Futures
  142. final def whenReady[T, U](future: FutureConcept[T], timeout: Timeout, interval: Interval)(fun: (T) ⇒ U)(implicit config: PatienceConfig, pos: Position): U
    Definition Classes
    Futures
  143. def withClue[T](clue: Any)(fun: ⇒ T): T
    Definition Classes
    Assertions
  144. def withFixture(test: NoArgTest): Outcome
    Attributes
    protected
    Definition Classes
    TestSuite
  145. def within[T](max: FiniteDuration)(f: ⇒ T): T
    Definition Classes
    TestKitBase
  146. def within[T](min: FiniteDuration, max: FiniteDuration)(f: ⇒ T): T
    Definition Classes
    TestKitBase

Deprecated Value Members

  1. final def execute: Unit
    Definition Classes
    Suite
    Annotations
    @deprecated
    Deprecated

    The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().

  2. def expectNoMsg(max: FiniteDuration): Unit
    Definition Classes
    TestKitBase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.5) Use expectNoMessage instead

  3. def expectNoMsg(): Unit
    Definition Classes
    TestKitBase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.5) Use expectNoMessage instead

  4. def trap[T](f: ⇒ T): Throwable
    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest

Inherited from ImplicitSender

Inherited from Eventually

Inherited from ScalaFutures

Inherited from Futures

Inherited from PatienceConfiguration

Inherited from ScaledTimeSpans

Inherited from BeforeAndAfterAll

Inherited from SuiteMixin

Inherited from TestSuite

Inherited from Suite

Inherited from Serializable

Inherited from Serializable

Inherited from Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from TestKit

Inherited from TestKitBase

Inherited from AnyRef

Inherited from Any

Ungrouped