diff options
author | Alan Conway <aconway@apache.org> | 2007-11-28 17:13:28 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-11-28 17:13:28 +0000 |
commit | 2b1b179702863e8e6d077c025f5244eaa461a990 (patch) | |
tree | 723d5b63eaa9d211ef2e119ec612bc8ad59cbf07 /cpp/src/tests/RefCountedMap.cpp | |
parent | 4c3d7def3ec41f44744d8f96e5229022b326b4fa (diff) | |
download | qpid-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/RefCountedMap.cpp')
-rw-r--r-- | cpp/src/tests/RefCountedMap.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/tests/RefCountedMap.cpp b/cpp/src/tests/RefCountedMap.cpp index ba98401b92..1875b8161c 100644 --- a/cpp/src/tests/RefCountedMap.cpp +++ b/cpp/src/tests/RefCountedMap.cpp @@ -18,10 +18,10 @@ #include "qpid/sys/RefCountedMap.h" -#include <boost/test/auto_unit_test.hpp> +#include "unit_test.h" #include <boost/bind.hpp> -BOOST_AUTO_TEST_SUITE(RefCountedMap); +QPID_AUTO_TEST_SUITE(RefCountedMapTestSuite) using namespace std; using namespace qpid; @@ -121,3 +121,5 @@ BOOST_AUTO_TEST_CASE(testRefCountedMapAttachClose) { BOOST_CHECK_EQUAL(0, Data::instances); BOOST_CHECK_EQUAL(0, Attachment::instances); } + +QPID_AUTO_TEST_SUITE_END() |