Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61085 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2010-04-05 17:23:36


Author: jewillco
Date: 2010-04-05 17:23:35 EDT (Mon, 05 Apr 2010)
New Revision: 61085
URL: http://svn.boost.org/trac/boost/changeset/61085

Log:
Added more diagnostics
Text files modified:
   trunk/libs/graph/test/graphviz_test.cpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/libs/graph/test/graphviz_test.cpp
==============================================================================
--- trunk/libs/graph/test/graphviz_test.cpp (original)
+++ trunk/libs/graph/test/graphviz_test.cpp 2010-04-05 17:23:35 EDT (Mon, 05 Apr 2010)
@@ -195,7 +195,10 @@
     try {
       test_graph<directedS,vecS>(gs,3,masses,weight_map_t());
       BOOST_ERROR("Failed to throw boost::undirected_graph_error.");
- } catch (boost::undirected_graph_error&) {}
+ } catch (boost::undirected_graph_error&) {
+ } catch (boost::directed_graph_error&) {
+ BOOST_ERROR("Threw boost::directed_graph_error, should have thrown boost::undirected_graph_error.");
+ }
   }
 
   // Mismatch undirected graph test


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk