You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2015/08/20 09:32:53 UTC

svn commit: r1696716 - /qpid/trunk/qpid/cpp/src/tests/exception_test.cpp

Author: astitcher
Date: Thu Aug 20 07:32:52 2015
New Revision: 1696716

URL: http://svn.apache.org/r1696716
Log:
NO-JIRA: Trivial update to work with changed Boost 1.59 Test library.

Modified:
    qpid/trunk/qpid/cpp/src/tests/exception_test.cpp

Modified: qpid/trunk/qpid/cpp/src/tests/exception_test.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/exception_test.cpp?rev=1696716&r1=1696715&r2=1696716&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/exception_test.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/exception_test.cpp Thu Aug 20 07:32:52 2015
@@ -63,7 +63,7 @@ struct Catcher : public Runnable {
         }
         catch(const Ex& e) {
             caught=true;
-            BOOST_MESSAGE(string("Caught expected exception: ")+e.what()+"["+typeid(e).name()+"]");
+            BOOST_TEST_MESSAGE(string("Caught expected exception: ")+e.what()+"["+typeid(e).name()+"]");
         }
         catch(const std::exception& e) {
             BOOST_ERROR(string("Bad exception: ")+e.what()+"["+typeid(e).name()+"] expected: "+typeid(Ex).name());



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org