Package group
Class GroupDispatcherTest
- java.lang.Object
-
- group.GroupDispatcherTest
-
public class GroupDispatcherTest extends java.lang.ObjectUnit tests for GroupDispatcher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupDispatcherTest.CapturingActor
-
Constructor Summary
Constructors Constructor Description GroupDispatcherTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleGroupMsg_actionMessage_routedViaActionHandler()voidhandleGroupMsg_broadcast_goesToAllButSender()voidhandleGroupMsg_directMessage_goesToRecipientOnly_orErrors()voidjoinedAndLeft_sendActionToOthersOnlyWhenChannelKnown()voidpoisonChannel_sendsClosedToChannelAndUnregisters()voidreassignChannel_movesChannelAndTriggersJoinedLeft()voidregisterChannel_sendsOpenedToSelfAndOthers()voidsetup()static voidsetupClass()static voidtearDownClass()voidunregisterChannel_sendsClosedToOthers_andUnregistersDispatcherIfEmpty()
-
-
-
Method Detail
-
setupClass
public static void setupClass()
-
tearDownClass
public static void tearDownClass()
-
setup
public void setup()
-
registerChannel_sendsOpenedToSelfAndOthers
public void registerChannel_sendsOpenedToSelfAndOthers()
-
unregisterChannel_sendsClosedToOthers_andUnregistersDispatcherIfEmpty
public void unregisterChannel_sendsClosedToOthers_andUnregistersDispatcherIfEmpty()
-
poisonChannel_sendsClosedToChannelAndUnregisters
public void poisonChannel_sendsClosedToChannelAndUnregisters()
-
reassignChannel_movesChannelAndTriggersJoinedLeft
public void reassignChannel_movesChannelAndTriggersJoinedLeft()
-
handleGroupMsg_actionMessage_routedViaActionHandler
public void handleGroupMsg_actionMessage_routedViaActionHandler()
-
handleGroupMsg_directMessage_goesToRecipientOnly_orErrors
public void handleGroupMsg_directMessage_goesToRecipientOnly_orErrors()
-
handleGroupMsg_broadcast_goesToAllButSender
public void handleGroupMsg_broadcast_goesToAllButSender()
-
joinedAndLeft_sendActionToOthersOnlyWhenChannelKnown
public void joinedAndLeft_sendActionToOthersOnlyWhenChannelKnown()
-
-