From 145c3f54f989c3c1217b2706655e20e7af137c70 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Mon, 22 Jan 2018 11:52:03 -0500 Subject: Powerpoint writer: Add further tests Tests added for: - table of contents - endnotes - endnotes with table of contents Powerpoint output checked in MS PowerPoint 2013 (Windows) --- test/Tests/Writers/Powerpoint.hs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/Tests/Writers') diff --git a/test/Tests/Writers/Powerpoint.hs b/test/Tests/Writers/Powerpoint.hs index a90d6193e..f78916dac 100644 --- a/test/Tests/Writers/Powerpoint.hs +++ b/test/Tests/Writers/Powerpoint.hs @@ -198,4 +198,19 @@ tests = [ pptxTest def{ writerSlideLevel = Just 1 } "pptx/slide_breaks.native" "pptx/slide_breaks_slide_level_1.pptx" + , pptxTest + "table of contents" + def{ writerTableOfContents = True } + "pptx/slide_breaks.native" + "pptx/slide_breaks_toc.pptx" + , pptxTest + "end notes" + def + "pptx/endnotes.native" + "pptx/endnotes.pptx" + , pptxTest + "end notes, with table of contents" + def { writerTableOfContents = True } + "pptx/endnotes.native" + "pptx/endnotes_toc.pptx" ] -- cgit v1.2.3