akka.testkit
Class TestActorRefSpec

java.lang.Object
  extended by akka.testkit.TestKit
      extended by akka.testkit.AkkaSpec
          extended by akka.testkit.TestActorRefSpec
All Implemented Interfaces:
DefaultTimeout, TestKitBase

public class TestActorRefSpec
extends AkkaSpec
implements DefaultTimeout

Forwarding Terminated to non-watching testActor is not possible, and therefore the Terminated message is wrapped.


Nested Class Summary
static class TestActorRefSpec.Logger
           
static class TestActorRefSpec.ReceiveTimeoutActor
           
static class TestActorRefSpec.ReplyActor
           
static class TestActorRefSpec.SenderActor
           
static interface TestActorRefSpec.TActor
           
static class TestActorRefSpec.WorkerActor
           
static class TestActorRefSpec.WrappedTerminated
          Forwarding Terminated to non-watching testActor is not possible, and therefore the Terminated message is wrapped.
static class TestActorRefSpec.WrappedTerminated$
           
 
Constructor Summary
TestActorRefSpec()
           
 
Method Summary
 void beforeEach()
           
static int counter()
           
static java.lang.Thread otherthread()
           
static java.lang.Thread thread()
           
 
Methods inherited from class akka.testkit.AkkaSpec
afterAll, atStartup, atTermination, beforeAll, getCallerName, log, mapToConfig, spawn, 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.DefaultTimeout
timeout
 
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

TestActorRefSpec

public TestActorRefSpec()
Method Detail

counter

public static int counter()

thread

public static java.lang.Thread thread()

otherthread

public static java.lang.Thread otherthread()

beforeEach

public void beforeEach()