From 16da0e0c511c0c1cf4ea592640c522754065200a Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 11 May 2010 14:39:58 +0000 Subject: Support for multiple protocols in qpid::Url. - simplified qpid::Address to hold (protocol,host,port) triples. - protocol plugins call Url:addProtocol to add tags to Url parser. - use Address::protocol when establishing connections. - ssl_test: tests using URL to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943130 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/RetryList.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/src/tests/RetryList.cpp') diff --git a/cpp/src/tests/RetryList.cpp b/cpp/src/tests/RetryList.cpp index d1d22348a3..50cd5edfe8 100644 --- a/cpp/src/tests/RetryList.cpp +++ b/cpp/src/tests/RetryList.cpp @@ -33,7 +33,7 @@ struct RetryListFixture { RetryList list; std::vector urls; - std::vector expected; + std::vector
expected; void addUrl(const std::string& s) { @@ -42,15 +42,15 @@ struct RetryListFixture void addExpectation(const std::string& host, uint16_t port) { - expected.push_back(TcpAddress(host, port)); + expected.push_back(Address("tcp", host, port)); } void check() { list.reset(urls); for (int t = 0; t < 2; t++) { - TcpAddress next; - for (std::vector::const_iterator i = expected.begin(); i != expected.end(); ++i) { + Address next; + for (std::vector
::const_iterator i = expected.begin(); i != expected.end(); ++i) { BOOST_CHECK(list.next(next)); BOOST_CHECK_EQUAL(i->host, next.host); BOOST_CHECK_EQUAL(i->port, next.port); -- cgit v1.2.1