diff options
Diffstat (limited to 'qpid/cpp/src/tests/Frame.cpp')
-rw-r--r-- | qpid/cpp/src/tests/Frame.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/Frame.cpp b/qpid/cpp/src/tests/Frame.cpp index f02564f5da..c0839b67d7 100644 --- a/qpid/cpp/src/tests/Frame.cpp +++ b/qpid/cpp/src/tests/Frame.cpp @@ -20,9 +20,9 @@ */ #include "qpid/framing/Frame.h" -#define BOOST_AUTO_TEST_MAIN // Must come before #include<boost/test/*> -#include <boost/test/auto_unit_test.hpp> #include <boost/lexical_cast.hpp> +#include <boost/test/auto_unit_test.hpp> +BOOST_AUTO_TEST_SUITE(Frame); using namespace std; using namespace qpid::framing; @@ -75,3 +75,5 @@ BOOST_AUTO_TEST_CASE(testLoop) { BOOST_REQUIRE(dynamic_cast<AccessRequestOkBody*>(g.getBody())->getTicket() == 42); } } + +BOOST_AUTO_TEST_SUITE_END(); |