Method Summary |
|
protected JMSMockObjectFactory | createJMSMockObjectFactory() Creates a
com.mockrunner.mock.jms.JMSMockObjectFactory . |
protected JMSTestModule | createJMSTestModule() Creates a
com.mockrunner.jms.JMSTestModule based on the current
com.mockrunner.mock.jms.JMSMockObjectFactory . |
protected JMSTestModule | createJMSTestModule(JMSMockObjectFactory mockFactory) Creates a
com.mockrunner.jms.JMSTestModule with the specified
com.mockrunner.mock.jms.JMSMockObjectFactory . |
protected ConfigurationManager | getConfigurationManager() |
protected MockConnection | getCurrentConnection() |
protected List | getCurrentMessageListFromQueue(String name) |
protected List | getCurrentMessageListFromTemporaryQueue(int indexOfSession, int indexOfQueue) |
protected List | getCurrentMessageListFromTemporaryTopic(int indexOfSession, int indexOfTopic) |
protected List | getCurrentMessageListFromTopic(String name) |
protected MockQueueConnection | getCurrentQueueConnection() |
protected MockTopicConnection | getCurrentTopicConnection() |
protected DestinationManager | getDestinationManager() |
protected JMSMockObjectFactory | getJMSMockObjectFactory() Gets the
com.mockrunner.mock.jms.JMSMockObjectFactory . |
protected JMSTestModule | getJMSTestModule() Gets the
com.mockrunner.jms.JMSTestModule . |
protected MessageManager | getMessageManager(int indexOfSession) |
protected MockQueue | getQueue(String name) |
protected MessageManager | getQueueMessageManager(int indexOfSession) |
protected MockQueueSession | getQueueSession(int indexOfSession) |
protected List | getQueueSessionList() |
protected QueueTransmissionManager | getQueueTransmissionManager(int indexOfSession) |
protected TransmissionManagerWrapper | getQueueTransmissionManagerWrapper(int indexOfSession) |
protected List | getReceivedMessageListFromQueue(String name) |
protected List | getReceivedMessageListFromTemporaryQueue(int indexOfSession, int indexOfQueue) |
protected List | getReceivedMessageListFromTemporaryTopic(int indexOfSession, int indexOfTopic) |
protected List | getReceivedMessageListFromTopic(String name) |
protected MockSession | getSession(int indexOfSession) |
protected List | getSessionList() |
protected MockTemporaryQueue | getTemporaryQueue(int indexOfSession, int indexOfQueue) |
protected List | getTemporaryQueueList(int indexOfSession) |
protected MockTemporaryTopic | getTemporaryTopic(int indexOfSession, int indexOfTopic) |
protected List | getTemporaryTopicList(int indexOfSession) |
protected MockTopic | getTopic(String name) |
protected MessageManager | getTopicMessageManager(int indexOfSession) |
protected MockTopicSession | getTopicSession(int indexOfSession) |
protected List | getTopicSessionList() |
protected TopicTransmissionManager | getTopicTransmissionManager(int indexOfSession) |
protected TransmissionManagerWrapper | getTopicTransmissionManagerWrapper(int indexOfSession) |
protected TransmissionManagerWrapper | getTransmissionManager(int indexOfSession) |
protected TransmissionManagerWrapper | getTransmissionManagerWrapper(int indexOfSession) |
protected void | registerTestMessageListenerForQueue(MockConnection connection, String queueName, boolean transacted, int acknowledgeMode, MessageListener listener) |
protected void | registerTestMessageListenerForQueue(MockConnection connection, String queueName, boolean transacted, int acknowledgeMode, String messageSelector, MessageListener listener) |
protected void | registerTestMessageListenerForQueue(String queueName, MessageListener listener) |
protected void | registerTestMessageListenerForQueue(MockConnection connection, String queueName, MessageListener listener) |
protected void | registerTestMessageListenerForTopic(MockConnection connection, String topicName, boolean transacted, int acknowledgeMode, String messageSelector, MessageListener listener) |
protected void | registerTestMessageListenerForTopic(MockConnection connection, String topicName, boolean transacted, int acknowledgeMode, MessageListener listener) |
protected void | registerTestMessageListenerForTopic(String topicName, MessageListener listener) |
protected void | registerTestMessageListenerForTopic(MockConnection connection, String topicName, MessageListener listener) |
protected void | setCurrentConnectionIndex(int connectionIndex) |
protected void | setCurrentQueueConnectionIndex(int connectionIndex) |
protected void | setCurrentTopicConnectionIndex(int connectionIndex) |
protected void | setJMSMockObjectFactory(JMSMockObjectFactory jmsMockObjectFactory) Sets the
com.mockrunner.mock.jms.JMSMockObjectFactory . |
protected void | setJMSTestModule(JMSTestModule jmsTestModule) Sets the
com.mockrunner.jms.JMSTestModule . |
protected void | setUp() Creates the
com.mockrunner.jms.JMSTestModule . |
protected void | tearDown() |
protected void | verifyAllDurableTopicSubscribersClosed(int indexOfSession) |
protected void | verifyAllMessageConsumersClosed(int indexOfSession) |
protected void | verifyAllMessageProducersClosed(int indexOfSession) |
protected void | verifyAllQueueBrowsersClosed(int indexOfSession) |
protected void | verifyAllQueueReceiversClosed(int indexOfSession) |
protected void | verifyAllQueueSendersClosed(int indexOfSession) |
protected void | verifyAllQueueSessionsClosed() |
protected void | verifyAllQueueSessionsCommitted() |
protected void | verifyAllQueueSessionsRecovered() |
protected void | verifyAllQueueSessionsRolledBack() |
protected void | verifyAllReceivedQueueMessagesAcknowledged(String nameOfQueue) |
protected void | verifyAllReceivedQueueMessagesAcknowledged(int indexOfSession, int indexOfQueue) |
protected void | verifyAllReceivedTopicMessagesAcknowledged(String nameOfTopic) |
protected void | verifyAllReceivedTopicMessagesAcknowledged(int indexOfSession, int indexOfTopic) |
protected void | verifyAllSessionsClosed() |
protected void | verifyAllSessionsCommitted() |
protected void | verifyAllSessionsRecovered() |
protected void | verifyAllSessionsRolledBack() |
protected void | verifyAllTemporaryQueuesDeleted(int indexOfSession) |
protected void | verifyAllTemporaryTopicsDeleted(int indexOfSession) |
protected void | verifyAllTopicPublishersClosed(int indexOfSession) |
protected void | verifyAllTopicSessionsClosed() |
protected void | verifyAllTopicSessionsCommitted() |
protected void | verifyAllTopicSessionsRecovered() |
protected void | verifyAllTopicSessionsRolledBack() |
protected void | verifyAllTopicSubscribersClosed(int indexOfSession) |
protected void | verifyConnectionClosed() |
protected void | verifyConnectionStarted() |
protected void | verifyConnectionStopped() |
protected void | verifyCreatedBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedMapMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueMapMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueTextMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedQueueTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTextMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicMapMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicTextMessageAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCreatedTopicTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) |
protected void | verifyCurrentQueueMessageEquals(String nameOfQueue, int indexOfSourceMessage, MockMessage targetMessage) |
protected void | verifyCurrentQueueMessageEquals(int indexOfSession, int indexOfQueue, int indexOfSourceMessage, MockMessage targetMessage) |
protected void | verifyCurrentTopicMessageEquals(int indexOfSession, int indexOfTopic, int indexOfSourceMessage, MockMessage targetMessage) |
protected void | verifyCurrentTopicMessageEquals(String nameOfTopic, int indexOfSourceMessage, MockMessage targetMessage) |
protected void | verifyDurableTopicSubscriberClosed(int indexOfSession, String name) |
protected void | verifyDurableTopicSubscriberPresent(int indexOfSession, String name) |
protected void | verifyMessageEquals(MockMessage message1, MockMessage message2) |
protected void | verifyNumberDurableTopicSubscribers(int indexOfSession, String topicName, int numberOfSubscribers) |
protected void | verifyNumberDurableTopicSubscribers(int indexOfSession, int numberOfSubscribers) |
protected void | verifyNumberMessageConsumers(int indexOfSession, int numberOfConsumers) |
protected void | verifyNumberMessageProducers(int indexOfSession, int numberOfProducers) |
protected void | verifyNumberOfCreatedBytesMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedMapMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedObjectMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedQueueBytesMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedQueueMapMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedQueueMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedQueueObjectMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedQueueStreamMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedQueueTextMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedStreamMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedTextMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedTopicBytesMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedTopicMapMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedTopicMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedTopicObjectMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedTopicStreamMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCreatedTopicTextMessages(int indexOfSession, int number) |
protected void | verifyNumberOfCurrentQueueMessages(int indexOfSession, int indexOfQueue, int numberOfMessages) |
protected void | verifyNumberOfCurrentQueueMessages(String nameOfQueue, int numberOfMessages) |
protected void | verifyNumberOfCurrentTopicMessages(int indexOfSession, int indexOfTopic, int numberOfMessages) |
protected void | verifyNumberOfCurrentTopicMessages(String nameOfTopic, int numberOfMessages) |
protected void | verifyNumberOfReceivedQueueMessages(String nameOfQueue, int numberOfMessages) |
protected void | verifyNumberOfReceivedQueueMessages(int indexOfSession, int indexOfQueue, int numberOfMessages) |
protected void | verifyNumberOfReceivedTopicMessages(int indexOfSession, int indexOfTopic, int numberOfMessages) |
protected void | verifyNumberOfReceivedTopicMessages(String nameOfTopic, int numberOfMessages) |
protected void | verifyNumberQueueBrowsers(int indexOfSession, String queueName, int numberOfBrowsers) |
protected void | verifyNumberQueueBrowsers(int indexOfSession, int numberOfBrowsers) |
protected void | verifyNumberQueueReceivers(int indexOfSession, int numberOfReceivers) |
protected void | verifyNumberQueueReceivers(int indexOfSession, String queueName, int numberOfReceivers) |
protected void | verifyNumberQueueSenders(int indexOfSession, String queueName, int numberOfSenders) |
protected void | verifyNumberQueueSenders(int indexOfSession, int numberOfSenders) |
protected void | verifyNumberQueueSessions(int number) |
protected void | verifyNumberSessions(int number) |
protected void | verifyNumberTemporaryQueues(int indexOfSession, int numberQueues) |
protected void | verifyNumberTemporaryTopics(int indexOfSession, int numberTopics) |
protected void | verifyNumberTopicPublishers(int indexOfSession, String topicName, int numberOfPublishers) |
protected void | verifyNumberTopicPublishers(int indexOfSession, int numberOfPublishers) |
protected void | verifyNumberTopicSessions(int number) |
protected void | verifyNumberTopicSubscribers(int indexOfSession, int numberOfSubscribers) |
protected void | verifyNumberTopicSubscribers(int indexOfSession, String topicName, int numberOfSubscribers) |
protected void | verifyQueueBrowserClosed(int indexOfSession, String queueName, int indexOfBrowser) |
protected void | verifyQueueConnectionClosed() |
protected void | verifyQueueConnectionStarted() |
protected void | verifyQueueConnectionStopped() |
protected void | verifyQueueReceiverClosed(int indexOfSession, String queueName, int indexOfReceiver) |
protected void | verifyQueueSenderClosed(int indexOfSession, String queueName, int indexOfSender) |
protected void | verifyQueueSessionClosed(int indexOfSession) |
protected void | verifyQueueSessionCommitted(int indexOfSession) |
protected void | verifyQueueSessionNotCommitted(int indexOfSession) |
protected void | verifyQueueSessionNotRecovered(int indexOfSession) |
protected void | verifyQueueSessionNotRolledBack(int indexOfSession) |
protected void | verifyQueueSessionNumberCommits(int indexOfSession, int numberOfCommits) |
protected void | verifyQueueSessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) |
protected void | verifyQueueSessionRecovered(int indexOfSession) |
protected void | verifyQueueSessionRolledBack(int indexOfSession) |
protected void | verifyReceivedQueueMessageAcknowledged(String nameOfQueue, int indexOfMessage) |
protected void | verifyReceivedQueueMessageAcknowledged(int indexOfSession, int indexOfQueue, int indexOfMessage) |
protected void | verifyReceivedQueueMessageEquals(String nameOfQueue, int indexOfSourceMessage, MockMessage targetMessage) |
protected void | verifyReceivedQueueMessageEquals(int indexOfSession, int indexOfQueue, int indexOfSourceMessage, MockMessage targetMessage) |
protected void | verifyReceivedQueueMessageNotAcknowledged(int indexOfSession, int indexOfQueue, int indexOfMessage) |
protected void | verifyReceivedQueueMessageNotAcknowledged(String nameOfQueue, int indexOfMessage) |
protected void | verifyReceivedTopicMessageAcknowledged(String nameOfTopic, int indexOfMessage) |
protected void | verifyReceivedTopicMessageAcknowledged(int indexOfSession, int indexOfTopic, int indexOfMessage) |
protected void | verifyReceivedTopicMessageEquals(String nameOfTopic, int indexOfSourceMessage, MockMessage targetMessage) |
protected void | verifyReceivedTopicMessageEquals(int indexOfSession, int indexOfTopic, int indexOfSourceMessage, MockMessage targetMessage) |
protected void | verifyReceivedTopicMessageNotAcknowledged(int indexOfSession, int indexOfTopic, int indexOfMessage) |
protected void | verifyReceivedTopicMessageNotAcknowledged(String nameOfTopic, int indexOfMessage) |
protected void | verifySessionClosed(int indexOfSession) |
protected void | verifySessionCommitted(int indexOfSession) |
protected void | verifySessionNotCommitted(int indexOfSession) |
protected void | verifySessionNotRecovered(int indexOfSession) |
protected void | verifySessionNotRolledBack(int indexOfSession) |
protected void | verifySessionNumberCommits(int indexOfSession, int numberOfCommits) |
protected void | verifySessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) |
protected void | verifySessionRecovered(int indexOfSession) |
protected void | verifySessionRolledBack(int indexOfSession) |
protected void | verifyTemporaryQueueDeleted(int indexOfSession, int indexOfQueue) |
protected void | verifyTemporaryTopicDeleted(int indexOfSession, int indexOfTopic) |
protected void | verifyTopicConnectionClosed() |
protected void | verifyTopicConnectionStarted() |
protected void | verifyTopicConnectionStopped() |
protected void | verifyTopicPublisherClosed(int indexOfSession, String topicName, int indexOfPublisher) |
protected void | verifyTopicSessionClosed(int indexOfSession) |
protected void | verifyTopicSessionCommitted(int indexOfSession) |
protected void | verifyTopicSessionNotCommitted(int indexOfSession) |
protected void | verifyTopicSessionNotRecovered(int indexOfSession) |
protected void | verifyTopicSessionNotRolledBack(int indexOfSession) |
protected void | verifyTopicSessionNumberCommits(int indexOfSession, int numberOfCommits) |
protected void | verifyTopicSessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) |
protected void | verifyTopicSessionRecovered(int indexOfSession) |
protected void | verifyTopicSessionRolledBack(int indexOfSession) |
protected void | verifyTopicSubscriberClosed(int indexOfSession, String topicName, int indexOfSubscriber) |