summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2017-12-28 10:39:47 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2017-12-28 10:51:03 -0500
commitc1fbf7257b5a51325e4057ce4921c4cc2a484d61 (patch)
tree36a5d4885f609f188689052c93545320fa64ee11 /pandoc.cabal
parentc6b5d651611178dab3e56772f6fba0db55a2e75d (diff)
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.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal8
1 files changed, 8 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index efe7340..a1eb008 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -605,6 +605,7 @@ test-suite test-pandoc
pandoc,
pandoc-types >= 1.17.3 && < 1.18,
bytestring >= 0.9 && < 0.11,
+ base64-bytestring >= 0.1 && < 1.1,
text >= 0.11 && < 1.3,
time >= 1.5 && < 1.9,
directory >= 1 && < 1.4,
@@ -621,6 +622,11 @@ test-suite test-pandoc
containers >= 0.4.2.1 && < 0.6,
executable-path >= 0.0 && < 0.1,
zip-archive >= 0.2.3.4 && < 0.4
+ if flag(old-locale)
+ build-depends: old-locale >= 1 && < 1.1,
+ time >= 1.2 && < 1.5
+ else
+ build-depends: time >= 1.5 && < 1.9
other-modules: Tests.Old
Tests.Command
Tests.Helpers
@@ -665,6 +671,8 @@ test-suite test-pandoc
Tests.Writers.TEI
Tests.Writers.Muse
Tests.Writers.FB2
+ Tests.Writers.Powerpoint
+ Tests.Writers.Powerpoint.PureData
ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
default-language: Haskell98