akka.testkit
Class AkkaSpec

java.lang.Object
  extended by akka.testkit.TestKit
      extended by akka.testkit.AkkaSpec
All Implemented Interfaces:
TestKitBase
Direct Known Subclasses:
TestActorRefSpec, TestFSMRefSpec, TestProbeSpec, TestTimeSpec

public abstract class AkkaSpec
extends TestKit


Constructor Summary
AkkaSpec()
           
AkkaSpec(ActorSystem _system)
           
AkkaSpec(com.typesafe.config.Config config)
           
 
Method Summary
 void afterAll()
           
protected  void atStartup()
           
protected  void atTermination()
           
 void beforeAll()
           
static java.lang.String getCallerName(java.lang.Class<?> clazz)
           
 LoggingAdapter log()
           
static com.typesafe.config.Config mapToConfig(scala.collection.immutable.Map<java.lang.String,java.lang.Object> map)
           
 void spawn(java.lang.String dispatcherId, scala.Function0<scala.runtime.BoxedUnit> body)
           
static com.typesafe.config.Config testConf()
           
 
Methods inherited from class akka.testkit.TestKit
awaitCond, dilated, now, system, testActorId
 
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
awaitCond, 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, fishForMessage, format, ignoreMsg, ignoreNoMsg, internalExpectMsgAllClassOf, internalExpectMsgAllConformingOf, lastMessage, lastSender, lastWasNoMsg, msgAvailable, now, queue, receiveN_internal, receiveN, receiveN, receiveOne, receiveWhile, remaining, remainingOr, remainingOrDilated, setAutoPilot, testActor, testKitSettings, unwatch, watch, within, within
 

Constructor Detail

AkkaSpec

public AkkaSpec(ActorSystem _system)

AkkaSpec

public AkkaSpec(com.typesafe.config.Config config)

AkkaSpec

public AkkaSpec()
Method Detail

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()

atTermination

protected void atTermination()

spawn

public void spawn(java.lang.String dispatcherId,
                  scala.Function0<scala.runtime.BoxedUnit> body)