From db47e4f5012d64126e6f3096bba1daa87b73c9e6 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 20 Oct 2008 15:29:46 +0000 Subject: Add option to require that only encrypted connections be accepted. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706321 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/exception_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests/exception_test.cpp') diff --git a/qpid/cpp/src/tests/exception_test.cpp b/qpid/cpp/src/tests/exception_test.cpp index 41061173a7..a73ea9e36b 100644 --- a/qpid/cpp/src/tests/exception_test.cpp +++ b/qpid/cpp/src/tests/exception_test.cpp @@ -39,6 +39,7 @@ using namespace sys; using namespace client; using namespace framing; +using qpid::broker::Broker; using boost::bind; using boost::function; @@ -88,7 +89,7 @@ QPID_AUTO_TEST_CASE(TestSessionBusy) { QPID_AUTO_TEST_CASE(DisconnectedPop) { ProxySessionFixture fix; - ProxyConnection c(fix.broker->getPort()); + ProxyConnection c(fix.broker->getPort(Broker::TCP_TRANSPORT)); fix.session.queueDeclare(arg::queue="q"); fix.subs.subscribe(fix.lq, "q"); Catcher pop(bind(&LocalQueue::pop, boost::ref(fix.lq))); @@ -101,7 +102,7 @@ QPID_AUTO_TEST_CASE(DisconnectedListen) { struct NullListener : public MessageListener { void received(Message&) { BOOST_FAIL("Unexpected message"); } } l; - ProxyConnection c(fix.broker->getPort()); + ProxyConnection c(fix.broker->getPort(Broker::TCP_TRANSPORT)); fix.session.queueDeclare(arg::queue="q"); fix.subs.subscribe(l, "q"); -- cgit v1.2.1