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/Cpg.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/Cpg.cpp')
-rw-r--r-- | cpp/src/tests/Cpg.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/tests/Cpg.cpp b/cpp/src/tests/Cpg.cpp index 06c8aec9ef..fddfe9ef05 100644 --- a/cpp/src/tests/Cpg.cpp +++ b/cpp/src/tests/Cpg.cpp @@ -22,8 +22,7 @@ #include "qpid/framing/AMQBody.h" #include <boost/bind.hpp> -#include <boost/test/auto_unit_test.hpp> -BOOST_AUTO_TEST_SUITE(Cpg); +#include "unit_test.h" #include <string> #include <iostream> @@ -31,6 +30,9 @@ BOOST_AUTO_TEST_SUITE(Cpg); #include <vector> #include <algorithm> +QPID_AUTO_TEST_SUITE(CpgTestSuite) + + using namespace std; using namespace qpid::cluster; using namespace qpid::framing; @@ -106,4 +108,4 @@ BOOST_AUTO_TEST_CASE(CpgBasic) { } -BOOST_AUTO_TEST_SUITE_END(); +QPID_AUTO_TEST_SUITE_END() |