akka.testkit
Class AkkaSpec
java.lang.Object
akka.testkit.TestKit
akka.testkit.AkkaSpec
- All Implemented Interfaces:
- TestKitBase, WatchedByCoroner
- Direct Known Subclasses:
- JavaTestKitSpec, TestActorRefSpec, TestFSMRefSpec, TestProbeSpec, TestTimeSpec
public abstract class AkkaSpec
- extends TestKit
- implements WatchedByCoroner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface akka.testkit.TestKitBase |
awaitAssert, awaitCond, checkMissingAndUnexpected, end, expectMsg_internal, expectMsg, expectMsg, expectMsgAllClassOf, expectMsgAllClassOf, expectMsgAllConformingOf, expectMsgAllConformingOf, expectMsgAllOf_internal, expectMsgAllOf, expectMsgAllOf, expectMsgAnyClassOf_internal, expectMsgAnyClassOf, expectMsgAnyClassOf, expectMsgAnyOf_internal, expectMsgAnyOf, expectMsgAnyOf, expectMsgClass_internal, expectMsgClass, expectMsgClass, expectMsgPF, expectMsgType, expectMsgType, expectNoMsg_internal, expectNoMsg, expectNoMsg, expectTerminated, fishForMessage, format, ignoreMsg, ignoreNoMsg, internalExpectMsgAllClassOf, internalExpectMsgAllConformingOf, lastMessage, lastSender, lastWasNoMsg, msgAvailable, now, queue, receiveN_internal, receiveN, receiveN, receiveOne, receiveWhile, remaining, remainingOr, remainingOrDilated, setAutoPilot, shutdown, testActor, testKitSettings, unwatch, watch, within, within |
AkkaSpec
public AkkaSpec(ActorSystem _system)
AkkaSpec
public AkkaSpec(com.typesafe.config.Config config)
AkkaSpec
public AkkaSpec()
testConf
public static com.typesafe.config.Config testConf()
mapToConfig
public static com.typesafe.config.Config mapToConfig(scala.collection.immutable.Map<java.lang.String,java.lang.Object> map)
getCallerName
public static java.lang.String getCallerName(java.lang.Class<?> clazz)
log
public LoggingAdapter log()
beforeAll
public final void beforeAll()
afterAll
public final void afterAll()
atStartup
protected void atStartup()
beforeTermination
protected void beforeTermination()
afterTermination
protected void afterTermination()
spawn
public void spawn(java.lang.String dispatcherId,
scala.Function0<scala.runtime.BoxedUnit> body)
expectedTestDuration
public scala.concurrent.duration.FiniteDuration expectedTestDuration()
- Specified by:
expectedTestDuration
in interface WatchedByCoroner
muteDeadLetters
public void muteDeadLetters(scala.collection.Seq<java.lang.Class<?>> messageClasses,
ActorSystem sys)