summaryrefslogtreecommitdiff
path: root/test/plugins/html/DemoOutputTest.cpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-01-12 15:59:46 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-01-12 15:59:46 +0100
commit9d89642e2bc33b8630e92d8b5a0e6d4116040897 (patch)
treed7d18cf795a18e321ce255b0e456c60bf2839787 /test/plugins/html/DemoOutputTest.cpp
parent51de9238ddbd6b7f4cdaa5e9a5918cae952891b2 (diff)
some further trials to solve the issue of segfault in HTML test, but failed.
Diffstat (limited to 'test/plugins/html/DemoOutputTest.cpp')
-rw-r--r--test/plugins/html/DemoOutputTest.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/plugins/html/DemoOutputTest.cpp b/test/plugins/html/DemoOutputTest.cpp
index 9d1949e..d496811 100644
--- a/test/plugins/html/DemoOutputTest.cpp
+++ b/test/plugins/html/DemoOutputTest.cpp
@@ -111,6 +111,13 @@ TEST(DemoHTMLTransformer, AnnotationProcessing)
buildAnnotationEntity(doc, logger, {"emphasized"}, em_start, em_end);
buildAnnotationEntity(doc, logger, {"strong"}, strong_start, strong_end);
+
+#ifdef MANAGER_GRAPHVIZ_EXPORT
+ // dump the manager state
+ mgr.exportGraphviz("build/annotationDocument.dot");
+#endif
+
+
// Check serialization.
DemoHTMLTransformer transformer;
std::stringstream out;