diff options
author | Andrew Stitcher <astitcher@apache.org> | 2008-04-17 21:46:22 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2008-04-17 21:46:22 +0000 |
commit | cfde776724c2f214b962dc8077ddca8305ddd705 (patch) | |
tree | 852a49ea858393a93886ac7dd3a5d0863ca4a935 /cpp/src/tests/Frame.cpp | |
parent | 20e4466ca57bc7bdc81ca0857549a63c77f41d8a (diff) | |
download | qpid-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/Frame.cpp')
-rw-r--r-- | cpp/src/tests/Frame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/tests/Frame.cpp b/cpp/src/tests/Frame.cpp index 0484dc4b2a..9ee3848b7b 100644 --- a/cpp/src/tests/Frame.cpp +++ b/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<AMQContentBody*>(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<string>(*f.getBody()), lexical_cast<string>(*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) { |