From a62b3c4f125306ceec23175b9c7aef2786ee786c Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 8 Apr 2010 09:49:04 +0000 Subject: QPID-664: changed open() to connect(), moved url parameter to constructor, added detach() and isConnected() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931852 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/MessagingSessionTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/MessagingSessionTests.cpp') diff --git a/cpp/src/tests/MessagingSessionTests.cpp b/cpp/src/tests/MessagingSessionTests.cpp index 6341ef3f28..bdd5422690 100644 --- a/cpp/src/tests/MessagingSessionTests.cpp +++ b/cpp/src/tests/MessagingSessionTests.cpp @@ -115,8 +115,8 @@ struct MessagingFixture : public BrokerFixture static Connection open(uint16_t port) { - Connection connection; - connection.open((boost::format("amqp:tcp:localhost:%1%") % (port)).str()); + Connection connection((boost::format("amqp:tcp:localhost:%1%") % (port)).str()); + connection.connect(); return connection; } -- cgit v1.2.1