Merge pull request #1290 from akka/wip-3077-deprecate-isTerminated-√

#3077 - Deprecating ActorRef.isTerminated
This commit is contained in:
Viktor Klang (√) 2013-04-03 15:44:20 -07:00
commit 0d510ff031
12 changed files with 61 additions and 64 deletions

View file

@ -115,10 +115,7 @@ class FaultHandlingDocSpec extends AkkaSpec with ImplicitSender {
//#stop
watch(child) // have testActor watch child
child ! new IllegalArgumentException // break it
expectMsgPF() {
case t @ Terminated(`child`) if t.existenceConfirmed ()
}
child.isTerminated must be(true)
expectMsgPF() { case Terminated(`child`) () }
//#stop
}
EventFilter[Exception]("CRASH", occurrences = 2) intercept {