#1299 - Removing reply and tryReply, preparing the way for 'sender ! response'
This commit is contained in:
parent
2d4251fcee
commit
77dc9e9c35
61 changed files with 144 additions and 186 deletions
|
|
@ -224,14 +224,6 @@ class TestKit(_app: AkkaApplication) {
|
|||
*/
|
||||
def within[T](max: Duration)(f: ⇒ T): T = within(0 seconds, max)(f)
|
||||
|
||||
/**
|
||||
* Send reply to the last dequeued message. Will throw
|
||||
* IllegalActorStateException if no message has been dequeued, yet. Dequeuing
|
||||
* means reception of the message as part of an expect... or receive... call,
|
||||
* not reception by the testActor.
|
||||
*/
|
||||
def reply(msg: AnyRef) { lastMessage.channel.!(msg)(testActor) }
|
||||
|
||||
/**
|
||||
* Same as `expectMsg(remaining, obj)`, but correctly treating the timeFactor.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue