abstract class DurableQueueTestSuite extends TestSuite with TestKitBase
Defines a reusable test suite that tests DurableQueue
implementations.
- Annotations
- @SuppressWarnings()
- Alphabetic
- By Inheritance
- DurableQueueTestSuite
- TestKitBase
- TestSuite
- TestSuiteVersionSpecific
- Executor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DurableQueueTestSuite()
Abstract Value Members
- abstract def durableQueue()(implicit system: ActorSystem): DurableQueue
Instantiates a
DurableQueue
for use by this test suite.Instantiates a
DurableQueue
for use by this test suite. Extending classes will need to define this method to return an instance that they wish to test.Each invocation of this method should acquire a new instance of a
DurableQueue
.For compliance with this test suite, a default namespace of "default" must be used.
- implicit abstract val system: ActorSystem
- Definition Classes
- TestKitBase
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertForDuration[A](a: => A, max: FiniteDuration, interval: Duration): A
- Definition Classes
- TestKitBase
- def awaitAssert[A](a: => A, max: Duration, interval: Duration): A
- Definition Classes
- TestKitBase
- def awaitCond(p: => Boolean, max: Duration, interval: Duration, message: String): Unit
- Definition Classes
- TestKitBase
- def childActorOf(props: Props): ActorRef
- Definition Classes
- TestKitBase
- def childActorOf(props: Props, name: String): ActorRef
- Definition Classes
- TestKitBase
- def childActorOf(props: Props, supervisorStrategy: SupervisorStrategy): ActorRef
- Definition Classes
- TestKitBase
- def childActorOf(props: Props, name: String, supervisorStrategy: SupervisorStrategy): ActorRef
- Definition Classes
- TestKitBase
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def expectMsg[T](max: FiniteDuration, hint: String, obj: T): T
- Definition Classes
- TestKitBase
- def expectMsg[T](max: FiniteDuration, obj: T): T
- Definition Classes
- TestKitBase
- def expectMsg[T](obj: T): T
- Definition Classes
- TestKitBase
- def expectMsgAllClassOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]
- Definition Classes
- TestKitBase
- def expectMsgAllClassOf[T](obj: Class[_ <: T]*): Seq[T]
- Definition Classes
- TestKitBase
- def expectMsgAllConformingOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]
- Definition Classes
- TestKitBase
- def expectMsgAllConformingOf[T](obj: Class[_ <: T]*): Seq[T]
- Definition Classes
- TestKitBase
- def expectMsgAllOf[T](max: FiniteDuration, obj: T*): Seq[T]
- Definition Classes
- TestKitBase
- def expectMsgAllOf[T](obj: T*): Seq[T]
- Definition Classes
- TestKitBase
- def expectMsgAnyClassOf[C](max: FiniteDuration, obj: Class[_ <: C]*): C
- Definition Classes
- TestKitBase
- def expectMsgAnyClassOf[C](obj: Class[_ <: C]*): C
- Definition Classes
- TestKitBase
- def expectMsgAnyOf[T](max: FiniteDuration, obj: T*): T
- Definition Classes
- TestKitBase
- def expectMsgAnyOf[T](obj: T*): T
- Definition Classes
- TestKitBase
- def expectMsgClass[C](max: FiniteDuration, c: Class[C]): C
- Definition Classes
- TestKitBase
- def expectMsgClass[C](c: Class[C]): C
- Definition Classes
- TestKitBase
- def expectMsgPF[T](max: Duration, hint: String)(f: PartialFunction[Any, T]): T
- Definition Classes
- TestKitBase
- def expectMsgType[T](max: FiniteDuration)(implicit t: ClassTag[T]): T
- Definition Classes
- TestKitBase
- def expectMsgType[T](implicit t: ClassTag[T]): T
- Definition Classes
- TestKitBase
- def expectNoMessage(): Unit
- Definition Classes
- TestKitBase
- def expectNoMessage(max: FiniteDuration): Unit
- Definition Classes
- TestKitBase
- def expectTerminated(target: ActorRef, max: Duration): Terminated
- Definition Classes
- TestKitBase
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fishForMessage(max: Duration, hint: String)(f: PartialFunction[Any, Boolean]): Any
- Definition Classes
- TestKitBase
- def fishForSpecificMessage[T](max: Duration, hint: String)(f: PartialFunction[Any, T]): T
- Definition Classes
- TestKitBase
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ignoreMsg(f: PartialFunction[Any, Boolean]): Unit
- Definition Classes
- TestKitBase
- def ignoreNoMsg(): Unit
- Definition Classes
- TestKitBase
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastSender: ActorRef
- Definition Classes
- TestKitBase
- def msgAvailable: Boolean
- Definition Classes
- TestKitBase
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def now: FiniteDuration
- Definition Classes
- TestKitBase
- def receiveN(n: Int, max: FiniteDuration): Seq[AnyRef]
- Definition Classes
- TestKitBase
- def receiveN(n: Int): Seq[AnyRef]
- Definition Classes
- TestKitBase
- def receiveOne(max: Duration): AnyRef
- Definition Classes
- TestKitBase
- def receiveWhile[T](max: Duration, idle: Duration, messages: Int)(f: PartialFunction[AnyRef, T]): Seq[T]
- Definition Classes
- TestKitBase
- def remaining: FiniteDuration
- Definition Classes
- TestKitBase
- def remainingOr(duration: FiniteDuration): FiniteDuration
- Definition Classes
- TestKitBase
- def remainingOrDefault: FiniteDuration
- Definition Classes
- TestKitBase
- def setAutoPilot(pilot: AutoPilot): Unit
- Definition Classes
- TestKitBase
- def shutdown(actorSystem: ActorSystem, duration: Duration, verifySystemShutdown: Boolean): Unit
- Definition Classes
- TestKitBase
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val testActor: ActorRef
- Definition Classes
- TestKitBase
- def testActorName: String
- Attributes
- protected
- Definition Classes
- TestKitBase
- val testKitSettings: TestKitSettings
- Definition Classes
- TestKitBase
- val tests: Tests
- Definition Classes
- DurableQueueTestSuite → TestSuite
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unwatch(ref: ActorRef): ActorRef
- Definition Classes
- TestKitBase
- def utestAfterAll(): Unit
- Definition Classes
- DurableQueueTestSuite → Executor
- def utestAfterEach(path: Seq[String]): Unit
- Definition Classes
- Executor
- def utestBeforeEach(path: Seq[String]): Unit
- Definition Classes
- Executor
- def utestFormatter: Formatter
- Definition Classes
- TestSuite
- def utestWrap(path: Seq[String], runBody: => Future[Any])(implicit ec: ExecutionContext): Future[Any]
- Definition Classes
- Executor
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def watch(ref: ActorRef): ActorRef
- Definition Classes
- TestKitBase
- def within[T](max: FiniteDuration)(f: => T): T
- Definition Classes
- TestKitBase
- def within[T](min: FiniteDuration, max: FiniteDuration)(f: => T): T
- Definition Classes
- TestKitBase
Deprecated Value Members
- macro def apply(expr: Unit): Tests
- Definition Classes
- TestSuiteVersionSpecific
- Annotations
- @deprecated
- Deprecated
Use
utest.Tests{...}
instead
- def expectNoMsg(max: FiniteDuration): Unit
- Definition Classes
- TestKitBase
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.5) Use expectNoMessage instead
- def expectNoMsg(): Unit
- Definition Classes
- TestKitBase
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.5) Use expectNoMessage instead