diff options
| author | Alan Conway <aconway@apache.org> | 2007-08-22 19:18:17 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-08-22 19:18:17 +0000 |
| commit | f2333ea56165e4f69d9e5c5d4b7d9aa46db5da14 (patch) | |
| tree | b9b8840cadd93f65905ef2ba4eeef765bbfd3a0b /cpp/src/tests/Cluster_child.cpp | |
| parent | 737f9a39b069e9094de335e44e5517d293195daa (diff) | |
| download | qpid-python-f2333ea56165e4f69d9e5c5d4b7d9aa46db5da14.tar.gz | |
* specs/amqp-transitional.0-10.xml: Removed ping and pong methods.
They have been removed from the spec.
* cpp/src/tests/Cluster.cpp, Cluster_child.cpp:
Removed use of SessionPing/PongBody.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568732 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/Cluster_child.cpp')
| -rw-r--r-- | cpp/src/tests/Cluster_child.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/tests/Cluster_child.cpp b/cpp/src/tests/Cluster_child.cpp index 7789ada614..bd76e58127 100644 --- a/cpp/src/tests/Cluster_child.cpp +++ b/cpp/src/tests/Cluster_child.cpp @@ -20,8 +20,8 @@ #include "Cluster.h" #include "test_tools.h" -#include "qpid/framing/SessionPingBody.h" -#include "qpid/framing/SessionPongBody.h" +#include "qpid/framing/SessionOpenBody.h" +#include "qpid/framing/SessionAttachedBody.h" using namespace std; using namespace qpid; @@ -37,13 +37,13 @@ void clusterTwo() { TestCluster cluster("clusterTwo", "amqp:child:2"); AMQFrame frame; BOOST_REQUIRE(cluster.received.waitPop(frame)); // Frame from parent. - BOOST_CHECK_TYPEID_EQUAL(SessionPingBody, *frame.getBody()); + BOOST_CHECK_TYPEID_EQUAL(SessionOpenBody, *frame.getBody()); BOOST_CHECK_EQUAL(2u, cluster.size()); // Me and parent - AMQFrame send(VER, 1, SessionPongBody(VER)); + AMQFrame send(VER, 1, SessionAttachedBody(VER)); cluster.handle(send); BOOST_REQUIRE(cluster.received.waitPop(frame)); - BOOST_CHECK_TYPEID_EQUAL(SessionPongBody, *frame.getBody()); + BOOST_CHECK_TYPEID_EQUAL(SessionAttachedBody, *frame.getBody()); } int test_main(int, char**) { |
