projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f361b19
)
xmlutil test: display standard exception if thrown
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 18 Jul 2011 12:22:43 +0000
(14:22 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 18 Jul 2011 12:22:43 +0000
(14:22 +0200)
src/test_xmlutil.cpp
patch
|
blob
|
history
diff --git
a/src/test_xmlutil.cpp
b/src/test_xmlutil.cpp
index
13065a1
..
ae9b571
100644
(file)
--- a/
src/test_xmlutil.cpp
+++ b/
src/test_xmlutil.cpp
@@
-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);
}
}