aboutsummaryrefslogtreecommitdiff
path: root/test/pptx/layouts
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@protonmail.com>2021-10-07 15:25:15 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-07 08:45:43 -0700
commitaa78765bf9d21b3a617a9eafba59dd59e362aa6b (patch)
treecf41f230a9f68d6a8504a7d62c2f00449e3fa318 /test/pptx/layouts
parent5a1bd526776a9c75a1f348f42415d15d78969e8b (diff)
downloadpandoc-aa78765bf9d21b3a617a9eafba59dd59e362aa6b.tar.gz
pptx: Remove excessive layout tests
When I added the tests for moved layouts and deleted layouts, I added them to all tests. However, this doesn’t really give a lot more info than having single tests, and the extra tests take up time and disk space. This commit removes the moved-layouts and deleted-layouts tests, in favour of a single test for each of those scenarios.
Diffstat (limited to 'test/pptx/layouts')
-rw-r--r--test/pptx/layouts/deleted.pptxbin0 -> 55694 bytes
-rw-r--r--test/pptx/layouts/input.native23
-rw-r--r--test/pptx/layouts/moved.pptxbin0 -> 66430 bytes
3 files changed, 23 insertions, 0 deletions
diff --git a/test/pptx/layouts/deleted.pptx b/test/pptx/layouts/deleted.pptx
new file mode 100644
index 000000000..f7116b2f4
--- /dev/null
+++ b/test/pptx/layouts/deleted.pptx
Binary files differ
diff --git a/test/pptx/layouts/input.native b/test/pptx/layouts/input.native
new file mode 100644
index 000000000..0cee2d14e
--- /dev/null
+++ b/test/pptx/layouts/input.native
@@ -0,0 +1,23 @@
+Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "Testing",Space,Str "Layouts"])]})
+[Header 2 ("slide-1",[],[]) [Str "Slide",Space,Str "1"]
+,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "title",Space,Str "and",Space,Str "content",Space,Str "slide"]
+,Header 2 ("slide-2",[],[]) [Str "Slide",Space,Str "2"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "This"]]
+ ,Div ("",["column"],[])
+ [Para [Str "\8230is",Space,Str "a",Space,Str "two-column",Space,Str "slide"]]]
+,Header 2 ("slide-3",[],[]) [Str "Slide",Space,Str "3"]
+,Para [Str "This",Space,Str "slide",Space,Str "is",Space,Str "a",Space,Str "Content",Space,Str "with",Space,Str "Caption",Space,Str "slide"]
+,Para [Image ("",[],[]) [Str "Content"] ("lalune.jpg","fig:")]
+,Header 2 ("slide-4",[],[]) [Str "Slide",Space,Str "4"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "This",Space,Str "slide",Space,Str "is",Space,Str "a",Space,Str "Comparison",Space,Str "slide:"]
+ ,Para [Image ("",[],[]) [Str "Content"] ("lalune.jpg","fig:")]]
+ ,Div ("",["column"],[])
+ [Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "other",Space,Str "text"]]]
+,Header 1 ("section-header",[],[]) [Str "Section",Space,Str "header"]
+,Header 2 ("section",[],[]) []
+,Div ("",["notes"],[])
+ [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "blank",Space,Str "slide"]]]
diff --git a/test/pptx/layouts/moved.pptx b/test/pptx/layouts/moved.pptx
new file mode 100644
index 000000000..e41465a86
--- /dev/null
+++ b/test/pptx/layouts/moved.pptx
Binary files differ