From 6ff9cc1db2af388c9fe00c140f555f7c30c5df6d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 1 Nov 2007 00:38:58 +0000 Subject: Preparation for session thread safety overhaul: - simplified SessionState, responsibility for protocol states now in Handlers - qpid::RefCounted, qpid::intrusive_ptr reference counting support. - build boost unit tests as single exe, speeds up testing. - fixed leak in AsynchIOAcceptor.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@590869 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/Serializer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests/Serializer.cpp') diff --git a/qpid/cpp/src/tests/Serializer.cpp b/qpid/cpp/src/tests/Serializer.cpp index 0135822275..0d52eef711 100644 --- a/qpid/cpp/src/tests/Serializer.cpp +++ b/qpid/cpp/src/tests/Serializer.cpp @@ -24,10 +24,10 @@ #include "qpid/sys/Mutex.h" #include "qpid/sys/Serializer.h" -#define BOOST_AUTO_TEST_MAIN -#include #include #include +#include +BOOST_AUTO_TEST_SUITE(Serializer); #include @@ -151,3 +151,5 @@ BOOST_AUTO_TEST_CASE(testExternalDispatch) { BOOST_CHECK_EQUAL(100u, tester.count); BOOST_CHECK(Thread::logId() != *tester.threads.begin()); } + +BOOST_AUTO_TEST_SUITE_END(); -- cgit v1.2.1