Package group

Class GroupDispatcherTest


  • public class GroupDispatcherTest
    extends java.lang.Object
    Unit tests for GroupDispatcher.
    • Constructor Detail

      • GroupDispatcherTest

        public GroupDispatcherTest()
    • 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()