summaryrefslogtreecommitdiff
path: root/test/plugins/html/DemoOutputTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins/html/DemoOutputTest.cpp')
-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);