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/Frame.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qpid/cpp/src/tests/Frame.cpp') diff --git a/qpid/cpp/src/tests/Frame.cpp b/qpid/cpp/src/tests/Frame.cpp index 0484dc4b2a..9ee3848b7b 100644 --- a/qpid/cpp/src/tests/Frame.cpp +++ b/qpid/cpp/src/tests/Frame.cpp @@ -29,7 +29,7 @@ using namespace std; using namespace qpid::framing; using namespace boost; -BOOST_AUTO_TEST_CASE(testContentBody) { +QPID_AUTO_TEST_CASE(testContentBody) { Frame f(42, AMQContentBody("foobar")); AMQBody* body=f.getBody(); BOOST_CHECK(dynamic_cast(body)); @@ -43,7 +43,7 @@ BOOST_AUTO_TEST_CASE(testContentBody) { BOOST_CHECK_EQUAL(content->getData(), "foobar"); } -BOOST_AUTO_TEST_CASE(testMethodBody) { +QPID_AUTO_TEST_CASE(testMethodBody) { FieldTable args; args.setString("foo", "bar"); Frame f( @@ -62,7 +62,7 @@ BOOST_AUTO_TEST_CASE(testMethodBody) { BOOST_CHECK_EQUAL(lexical_cast(*f.getBody()), lexical_cast(*g.getBody())); } -BOOST_AUTO_TEST_CASE(testLoop) { +QPID_AUTO_TEST_CASE(testLoop) { // Run in a loop so heap profiler can spot any allocations. Buffer b(1024); for (int i = 0; i < 100; ++i) { -- cgit v1.2.1