summaryrefslogtreecommitdiff
path: root/cpp/src/tests/unit_test.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/unit_test.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/unit_test.cpp')
-rw-r--r--cpp/src/tests/unit_test.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/tests/unit_test.cpp b/cpp/src/tests/unit_test.cpp
index aed6f6a4af..00c61242e4 100644
--- a/cpp/src/tests/unit_test.cpp
+++ b/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"
+