summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster_test.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
commit205e035f834266257e383d17bd80d83abcc1fe2a (patch)
treeb23a70907351136dbd32e344d36ddc1d2b0b1440 /qpid/cpp/src/tests/cluster_test.cpp
parenta09ed43cc8ed5862996e684b924f3405e09734c3 (diff)
downloadqpid-python-205e035f834266257e383d17bd80d83abcc1fe2a.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@703212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_test.cpp')
0 files changed, 0 insertions, 0 deletions