|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.testkit.TestKit akka.actor.mailbox.DurableMailboxSpec
public abstract class DurableMailboxSpec
Reusable test fixture for durable mailboxes. Implements a few basic tests. More tests can be added in concrete subclass.
Subclass must define dispatcher in the supplied config for the specific backend.
The id of the dispatcher should be the same as the
.
Constructor Summary | |
---|---|
DurableMailboxSpec(ActorSystem system,
java.lang.String backendName)
|
|
DurableMailboxSpec(java.lang.String backendName,
java.lang.String config)
Subclass must define dispatcher in the supplied config for the specific backend. |
Method Summary | |
---|---|
void |
afterAll()
|
void |
afterTermination()
May be implemented in concrete subclass to do additional things once after all test cases have been run. |
protected void |
atStartup()
May be implemented in concrete subclass to do additional things once before test cases are run. |
java.lang.String |
backendName()
|
void |
beforeAll()
|
ActorRef |
createMailboxTestActor(Props props,
java.lang.String id)
|
static com.typesafe.config.Config |
fallbackConfig()
|
protected void |
streamMustContain(java.io.InputStream in,
java.lang.String words)
|
Methods inherited from class akka.testkit.TestKit |
---|
awaitCond, dilated, now, shutdownActorSystem, system, testActorId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DurableMailboxSpec(ActorSystem system, java.lang.String backendName)
public DurableMailboxSpec(java.lang.String backendName, java.lang.String config)
-dispatcher
.
backendName
- (undocumented)config
- (undocumented)Method Detail |
---|
public static com.typesafe.config.Config fallbackConfig()
public java.lang.String backendName()
public final void beforeAll()
protected void atStartup()
public final void afterAll()
public void afterTermination()
protected void streamMustContain(java.io.InputStream in, java.lang.String words)
public ActorRef createMailboxTestActor(Props props, java.lang.String id)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |