FIXMEs, young grasshopper

This commit is contained in:
Viktor Klang 2012-01-16 20:18:08 +01:00
parent 13a95ce15b
commit 1756b6aa54
13 changed files with 20 additions and 60 deletions

View file

@ -102,7 +102,7 @@ class TestKit(_system: ActorSystem) {
* registration as message target.
*/
lazy val testActor: ActorRef = {
val impl = system.asInstanceOf[ActorSystemImpl] //FIXME should we rely on this cast to work here?
val impl = system.asInstanceOf[ActorSystemImpl] //TODO ticket #1559
impl.systemActorOf(Props(new TestActor(queue))
.withDispatcher(CallingThreadDispatcher.Id),
"testActor" + TestKit.testActorId.incrementAndGet)