Docx reader: Test inline image code.
This commit is contained in:
parent
7bd7d4d476
commit
98d14b2b2a
4 changed files with 8 additions and 1 deletions
|
@ -178,6 +178,7 @@ Extra-Source-Files:
|
|||
tests/docx.hanging_indent.docx,
|
||||
tests/docx.headers.docx,
|
||||
tests/docx.image.docx,
|
||||
tests/docx.inline_images.docx,
|
||||
tests/docx.inline_code.docx,
|
||||
tests/docx.inline_formatting.docx,
|
||||
tests/docx.links.docx,
|
||||
|
|
|
@ -107,9 +107,13 @@ tests = [ testGroup "inlines"
|
|||
"docx.links.docx"
|
||||
"docx.links.native"
|
||||
, testCompare
|
||||
"inline image with reference output"
|
||||
"inline image"
|
||||
"docx.image.docx"
|
||||
"docx.image_no_embed.native"
|
||||
, testCompare
|
||||
"inline image in links"
|
||||
"docx.inline_images.docx"
|
||||
"docx.inline_images.native"
|
||||
, testCompare
|
||||
"handling unicode input"
|
||||
"docx.unicode.docx"
|
||||
|
|
BIN
tests/docx.inline_images.docx
Normal file
BIN
tests/docx.inline_images.docx
Normal file
Binary file not shown.
2
tests/docx.inline_images.native
Normal file
2
tests/docx.inline_images.native
Normal file
|
@ -0,0 +1,2 @@
|
|||
[Para [Str "This",Space,Str "picture",Space,Image [] ("media/image1.jpg",""),Space,Str "is",Space,Str "an",Space,Str "identicon."]
|
||||
,Para [Str "Here",Space,Str "is",Space,Link [Str "one",Space,Image [] ("media/image2.jpg",""),Space,Str "that"] ("http://www.google.com",""),Space,Str "links."]]
|
Loading…
Add table
Reference in a new issue