From 1b4a961ec807e5e61cd232b08020a935a4f76f4c Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 17 Apr 2008 21:46:22 +0000 Subject: Patch for improved compatibility with gcc 3.4 and boost 1.33 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649294 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/Serializer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 51b739218d..5caf2ea096 100644 --- a/qpid/cpp/src/tests/Serializer.cpp +++ b/qpid/cpp/src/tests/Serializer.cpp @@ -69,7 +69,7 @@ void execute(BoostFunctionSerializer& s, boost::function t) s.execute(t); } -BOOST_AUTO_TEST_CASE(testSingleThread) { +QPID_AUTO_TEST_CASE(testSingleThread) { // Verify that we call in the same thread by default. Tester tester; BoostFunctionSerializer s; @@ -83,7 +83,7 @@ BOOST_AUTO_TEST_CASE(testSingleThread) { } -BOOST_AUTO_TEST_CASE(testSingleThreadNoImmediate) { +QPID_AUTO_TEST_CASE(testSingleThreadNoImmediate) { // Verify that we call in different thread if immediate=false. Tester tester; BoostFunctionSerializer s(false); @@ -107,7 +107,7 @@ struct Caller : public Runnable, public Tester { BoostFunctionSerializer& serializer; }; -BOOST_AUTO_TEST_CASE(testDispatchThread) { +QPID_AUTO_TEST_CASE(testDispatchThread) { BoostFunctionSerializer s; Caller caller(s); Thread threads[100]; @@ -138,7 +138,7 @@ void notifyDispatch() { } // Use externally created threads. -BOOST_AUTO_TEST_CASE(testExternalDispatch) { +QPID_AUTO_TEST_CASE(testExternalDispatch) { serializer.reset(new BoostFunctionSerializer(false, ¬ifyDispatch)); Tester tester; for (int i = 0; i < 100; ++i) -- cgit v1.2.1