summaryrefslogtreecommitdiff
path: root/cpp/src/tests/Serializer.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-04-17 21:46:22 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-04-17 21:46:22 +0000
commitcfde776724c2f214b962dc8077ddca8305ddd705 (patch)
tree852a49ea858393a93886ac7dd3a5d0863ca4a935 /cpp/src/tests/Serializer.cpp
parent20e4466ca57bc7bdc81ca0857549a63c77f41d8a (diff)
downloadqpid-python-cfde776724c2f214b962dc8077ddca8305ddd705.tar.gz
Patch for improved compatibility with gcc 3.4 and boost 1.33
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649294 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/Serializer.cpp')
-rw-r--r--cpp/src/tests/Serializer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/tests/Serializer.cpp b/cpp/src/tests/Serializer.cpp
index 51b739218d..5caf2ea096 100644
--- a/cpp/src/tests/Serializer.cpp
+++ b/cpp/src/tests/Serializer.cpp
@@ -69,7 +69,7 @@ void execute(BoostFunctionSerializer& s, boost::function<void()> 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, &notifyDispatch));
Tester tester;
for (int i = 0; i < 100; ++i)