qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r1696716 - /qpid/trunk/qpid/cpp/src/tests/exception_test.cpp
Date Thu, 20 Aug 2015 07:32:53 GMT
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


Mime
View raw message