From 5fd6f33c0f301c71db895c62c24ae15d9e32cfa4 Mon Sep 17 00:00:00 2001 From: bergwerkgis Date: Mon, 5 Oct 2015 14:23:52 +0000 Subject: [PATCH] visual diff of visual test results --- test/visual/report.cpp | 54 ++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 31 deletions(-) diff --git a/test/visual/report.cpp b/test/visual/report.cpp index deaf5b9c5..c4cfc1320 100644 --- a/test/visual/report.cpp +++ b/test/visual/report.cpp @@ -161,16 +161,18 @@ void html_report::report(result const & r, boost::filesystem::path const & outpu copy_file(r.reference_image_path, reference); copy_file(r.actual_image_path, actual); - s << "
\n" - " \n" - " \n" - " \n" - "
\n" - "
" << r.diff << "
\n" - "
\n" - " \n" - " \n" - " \n" + s << "

" << r.diff << "

\n" + "
" + "
" + " \n" + " \n" + " \n" + "
\n" + "
\n" + " \n" + " \n" + " \n" + "
\n" "
\n"; } } @@ -179,31 +181,21 @@ constexpr const char * html_header = R"template( - -
-
expected
-
% difference
-
actual
)template"; constexpr const char * html_footer = R"template(