From 99510f368a18c30b161fa89f7523bcc2b5cc5d0b Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 5 Jan 2015 00:41:52 +0100 Subject: Added graphviz output to DemoOutputTest --- test/plugins/html/DemoOutputTest.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') 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 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); -- cgit v1.2.3