diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-10-18 22:00:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-18 22:00:58 +0200 |
commit | 0cd11b3e5404fa6fca7538098bcf315343d1a237 (patch) | |
tree | 39057cfcb282e2e7b901dc12510ecffc3baad25b /tests | |
parent | 8264ae2abe976184086a5a40c3d082f5e3e99ca5 (diff) | |
parent | 4417e33ea9d49a2001091adb4d2b19ebdefe5795 (diff) | |
download | pandoc-0cd11b3e5404fa6fca7538098bcf315343d1a237.tar.gz |
Merge pull request #3165 from hubertp-lshift/feature/odt-image
[odt] images parser
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/Odt.hs | 6 | ||||
-rw-r--r-- | tests/odt/native/image.native | 1 | ||||
-rw-r--r-- | tests/odt/native/imageIndex.native | 1 | ||||
-rw-r--r-- | tests/odt/native/imageWithCaption.native | 1 |
4 files changed, 7 insertions, 2 deletions
diff --git a/tests/Tests/Readers/Odt.hs b/tests/Tests/Readers/Odt.hs index cf30b8398..74796d899 100644 --- a/tests/Tests/Readers/Odt.hs +++ b/tests/Tests/Readers/Odt.hs @@ -141,7 +141,6 @@ namesOfTestsComparingToMarkdown = [ "bold" , "footnote" , "headers" -- , "horizontalRule" --- , "image" , "italic" -- , "listBlocks" , "paragraph" @@ -152,6 +151,9 @@ namesOfTestsComparingToMarkdown = [ "bold" namesOfTestsComparingToNative :: [ String ] namesOfTestsComparingToNative = [ "blockquote" + , "image" + , "imageIndex" + , "imageWithCaption" , "orderedListMixed" , "orderedListRoman" , "orderedListSimple" @@ -162,4 +164,4 @@ namesOfTestsComparingToNative = [ "blockquote" -- , "table" , "unicode" , "unorderedList" - ]
\ No newline at end of file + ] diff --git a/tests/odt/native/image.native b/tests/odt/native/image.native new file mode 100644 index 000000000..667442539 --- /dev/null +++ b/tests/odt/native/image.native @@ -0,0 +1 @@ +[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [] ("Pictures/10000000000000FA000000FAD6A15225.jpg","")]] diff --git a/tests/odt/native/imageIndex.native b/tests/odt/native/imageIndex.native new file mode 100644 index 000000000..75c6e4135 --- /dev/null +++ b/tests/odt/native/imageIndex.native @@ -0,0 +1 @@ +[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [Str "Abbildung",Space,Str "1:",Space,Str "Image",Space,Str "caption"] ("Pictures/10000000000000FA000000FAD6A15225.jpg","")]] diff --git a/tests/odt/native/imageWithCaption.native b/tests/odt/native/imageWithCaption.native new file mode 100644 index 000000000..75c6e4135 --- /dev/null +++ b/tests/odt/native/imageWithCaption.native @@ -0,0 +1 @@ +[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [Str "Abbildung",Space,Str "1:",Space,Str "Image",Space,Str "caption"] ("Pictures/10000000000000FA000000FAD6A15225.jpg","")]] |