summaryrefslogtreecommitdiff
path: root/cpp/src/tests/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-11-28 17:13:28 +0000
committerAlan Conway <aconway@apache.org>2007-11-28 17:13:28 +0000
commit2b1b179702863e8e6d077c025f5244eaa461a990 (patch)
tree723d5b63eaa9d211ef2e119ec612bc8ad59cbf07 /cpp/src/tests/Cluster.cpp
parent4c3d7def3ec41f44744d8f96e5229022b326b4fa (diff)
downloadqpid-python-2b1b179702863e8e6d077c025f5244eaa461a990.tar.gz
Fixed to build with boost 1.34 as well as boost 1.33
- boost::ptr_map API changed. - Boost.Test unit test framework changes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@599067 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/Cluster.cpp')
-rw-r--r--cpp/src/tests/Cluster.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/tests/Cluster.cpp b/cpp/src/tests/Cluster.cpp
index 635126053f..b448128620 100644
--- a/cpp/src/tests/Cluster.cpp
+++ b/cpp/src/tests/Cluster.cpp
@@ -24,11 +24,12 @@
#include "qpid/framing/all_method_bodies.h"
#include "qpid/cluster/ClassifierHandler.h"
-#include <boost/test/auto_unit_test.hpp>
-BOOST_AUTO_TEST_SUITE(Cluster);
+#include "unit_test.h"
#include <sys/wait.h>
+QPID_AUTO_TEST_SUITE(ClusterTestSuite)
+
static const ProtocolVersion VER;
/** Verify membership in a cluster with one member. */
@@ -107,4 +108,4 @@ BOOST_AUTO_TEST_CASE(testClassifierHandlerWiring) {
BOOST_CHECK_EQUAL(1u, other.count);
}
-BOOST_AUTO_TEST_SUITE_END();
+QPID_AUTO_TEST_SUITE_END()