X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_xmlutil.cpp;h=3efe7f2e34ba37ea4d663f68abc0265a8f12adb4;hb=55248f83c4d706bc529873d01d3696388e816d32;hp=13065a1cde3fc6105a6f0ce243e7a027ca730823;hpb=e5329397729e8959a821c6956f75012372fc0a77;p=metaproxy-moved-to-github.git diff --git a/src/test_xmlutil.cpp b/src/test_xmlutil.cpp index 13065a1..3efe7f2 100644 --- a/src/test_xmlutil.cpp +++ b/src/test_xmlutil.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2011 Index Data + Copyright (C) 2005-2012 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -99,8 +99,13 @@ BOOST_AUTO_TEST_CASE( url_recipe ) xmlFreeDoc(doc); } } + catch ( std::runtime_error &e) { + std::cout << "std::runtime error: " << e.what() << std::endl; + BOOST_CHECK(false); + } catch ( ... ) { - BOOST_CHECK (false); + std::cout << "unknown exception" << std::endl; + BOOST_CHECK(false); } }