From c1fbf7257b5a51325e4057ce4921c4cc2a484d61 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Thu, 28 Dec 2017 10:39:47 -0500 Subject: PowerPoint writer: Introduce beginning of tests This is the beginning of a test suite for the powerpoint writer. Initial tests are for the number of slides. Note that at the moment it does not test against corruption in Microsoft PowerPoint; it just tests that certain outcomes work as expected. More tests will be added. This test framework uses the PandocPure monad introduced with Pandoc 2.0. --- test/test-pandoc.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test-pandoc.hs') diff --git a/test/test-pandoc.hs b/test/test-pandoc.hs index ff852ee0e..4cf1a952d 100644 --- a/test/test-pandoc.hs +++ b/test/test-pandoc.hs @@ -33,6 +33,7 @@ import qualified Tests.Writers.Muse import qualified Tests.Writers.Native import qualified Tests.Writers.Org import qualified Tests.Writers.Plain +import qualified Tests.Writers.Powerpoint import qualified Tests.Writers.RST import qualified Tests.Writers.TEI import Text.Pandoc.Shared (inDirectory) @@ -57,6 +58,7 @@ tests = testGroup "pandoc tests" [ Tests.Command.tests , testGroup "TEI" Tests.Writers.TEI.tests , testGroup "Muse" Tests.Writers.Muse.tests , testGroup "FB2" Tests.Writers.FB2.tests + , testGroup "PowerPoint" Tests.Writers.Powerpoint.tests ] , testGroup "Readers" [ testGroup "LaTeX" Tests.Readers.LaTeX.tests -- cgit v1.2.3