summaryrefslogtreecommitdiff
path: root/test/plugins
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-05 00:41:52 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-05 00:41:52 +0100
commit99510f368a18c30b161fa89f7523bcc2b5cc5d0b (patch)
tree0a4b6bd1d45e57c86ce0275d9d08e0329aa2d520 /test/plugins
parent06b4e83181ef4dd581793b5dedede5118725b406 (diff)
Added graphviz output to DemoOutputTest
Diffstat (limited to 'test/plugins')
-rw-r--r--test/plugins/html/DemoOutputTest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/plugins/html/DemoOutputTest.cpp b/test/plugins/html/DemoOutputTest.cpp
index b81a001..2db4012 100644
--- a/test/plugins/html/DemoOutputTest.cpp
+++ b/test/plugins/html/DemoOutputTest.cpp
@@ -41,6 +41,11 @@ TEST(DemoHTMLTransformer, writeHTML)
// Construct the document.
Rooted<model::Document> doc = model::constructBookDocument(mgr, domain);
+#ifdef MANAGER_GRAPHVIZ_EXPORT
+ // dump the manager state
+ mgr.exportGraphviz("bookDocument.dot");
+#endif
+
// print it
DemoHTMLTransformer transformer;
transformer.writeHTML(doc, std::cout);