summaryrefslogtreecommitdiff
path: root/cpp/src/tests/QueueTest.cpp
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2008-10-09 17:43:41 +0000
committerMartin Ritchie <ritchiem@apache.org>2008-10-09 17:43:41 +0000
commit4ff1d4ca6707275d1306d7f94c79b5d066a548ce (patch)
tree64c619f663bf2f098ce442d1d5cfcbfbb56df527 /cpp/src/tests/QueueTest.cpp
parent394823bba7976c170ac58e53b5d80ad12e0f1690 (diff)
downloadqpid-python-4ff1d4ca6707275d1306d7f94c79b5d066a548ce.tar.gz
QPID-1331 : Modified the BrowserSubscription to be consistent with the NoAck Subscription.
Added Test QueueBrowserUsesNoAckTest to validate the change. Note that the Credit Manager Suspends the subscriber not the channel when credit is exhausted. JIRA to follow. So to check if the subscription was suspended I needed to make a MockChannel and give it access to the subscriber map in the Channel. The test also needed to be able to interrogate the state of the Subscription which was not part of the Subscription interface, but was used by all subscriptions. So promoted to the interface and implemented the stubs in the various helper/test classes. Added the ability to browse() via the InternalBrokerBaseCase and prevented a NPE when there were no messages returned via getDelivers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueTest.cpp')
0 files changed, 0 insertions, 0 deletions