Renamed startsWatching to watch, and stopsWatching to unwatch
This commit is contained in:
parent
3204269f6a
commit
7595e52bc9
13 changed files with 23 additions and 23 deletions
|
|
@ -49,7 +49,7 @@ class TestActorRef[T <: Actor](
|
|||
*
|
||||
* @return the same ActorRef that is provided to it, to allow for cleaner invocations
|
||||
*/
|
||||
def startsWatching(subject: ActorRef): ActorRef = underlying.startsWatching(subject)
|
||||
def watch(subject: ActorRef): ActorRef = underlying.watch(subject)
|
||||
|
||||
/**
|
||||
* Deregisters this actor from being a death monitor of the provided ActorRef
|
||||
|
|
@ -58,7 +58,7 @@ class TestActorRef[T <: Actor](
|
|||
*
|
||||
* @return the same ActorRef that is provided to it, to allow for cleaner invocations
|
||||
*/
|
||||
def stopsWatching(subject: ActorRef): ActorRef = underlying.stopsWatching(subject)
|
||||
def unwatch(subject: ActorRef): ActorRef = underlying.unwatch(subject)
|
||||
|
||||
override def toString = "TestActor[" + address + "]"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue