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 | acd260bce099be36b879826a0921daf9cb2fe140 (patch) | |
tree | 7f1c708dafa7a1399b62ef9316550b17d19ace3d /qpid/cpp/src/tests/unit_test.cpp | |
parent | e427d74267a1a11238425fc540ab84cde2474a3e (diff) | |
download | qpid-python-acd260bce099be36b879826a0921daf9cb2fe140.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@599067 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/unit_test.cpp')
-rw-r--r-- | qpid/cpp/src/tests/unit_test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/unit_test.cpp b/qpid/cpp/src/tests/unit_test.cpp index aed6f6a4af..00c61242e4 100644 --- a/qpid/cpp/src/tests/unit_test.cpp +++ b/qpid/cpp/src/tests/unit_test.cpp @@ -16,7 +16,8 @@ * */ -#define BOOST_AUTO_TEST_MAIN // Must come before #include<boost/test/*> -#include <boost/test/auto_unit_test.hpp> - // Defines test_main function to link with actual unit test code. +#define BOOST_AUTO_TEST_MAIN // Boost 1.33 +#define BOOST_TEST_MAIN +#include "unit_test.h" + |