summaryrefslogtreecommitdiff
path: root/cpp/src/tests/ClientSessionTest.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2014-07-01 19:12:38 +0000
committerAndrew Stitcher <astitcher@apache.org>2014-07-01 19:12:38 +0000
commitf302102638ff0866aa4cfa5fb761e05d3d04dc6b (patch)
tree0abbbc0adf1b86a1766d401f46c5a37bace534e2 /cpp/src/tests/ClientSessionTest.cpp
parent3a8725012b391fa9d1e47dd318f2ebaf2a6d06d7 (diff)
downloadqpid-python-f302102638ff0866aa4cfa5fb761e05d3d04dc6b.tar.gz
QPID-3921: Refactored Broker::Options into its own independent class
- Now called BrokerOptions - Added extra getters to Broker so that nothing else needs to know about BrokerOptions - Significantly reduces header coupling as lots of files include Broker.h, but now don't need Options.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607166 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ClientSessionTest.cpp')
-rw-r--r--cpp/src/tests/ClientSessionTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/tests/ClientSessionTest.cpp b/cpp/src/tests/ClientSessionTest.cpp
index 2236882eed..6cd63e7f04 100644
--- a/cpp/src/tests/ClientSessionTest.cpp
+++ b/cpp/src/tests/ClientSessionTest.cpp
@@ -52,7 +52,7 @@ using namespace qpid;
using qpid::sys::Monitor;
using qpid::sys::Thread;
using qpid::sys::TIME_SEC;
-using qpid::broker::Broker;
+using qpid::broker::BrokerOptions;
using std::string;
using std::cout;
using std::endl;
@@ -105,7 +105,7 @@ struct SimpleListener : public MessageListener
struct ClientSessionFixture : public SessionFixture
{
- ClientSessionFixture(Broker::Options opts = Broker::Options()) : SessionFixture(opts) {
+ ClientSessionFixture(BrokerOptions opts = BrokerOptions()) : SessionFixture(opts) {
session.queueDeclare(arg::queue="my-queue");
}
};
@@ -248,7 +248,7 @@ QPID_AUTO_TEST_CASE(testOpenFailure) {
}
QPID_AUTO_TEST_CASE(testPeriodicExpiration) {
- Broker::Options opts;
+ BrokerOptions opts;
opts.queueCleanInterval = 1*TIME_SEC;
opts.queueFlowStopRatio = 0;
opts.queueFlowResumeRatio = 0;