From b3449a84aa19edd3b31e2f49fddb924b54d99df6 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Fri, 26 Jan 2018 14:23:18 -0500 Subject: Docx writer tests: Use new golden framework These are based off the reader tests, with some removed (where the reader output was identical, based on different docx inputs). There are still more to be added. In particular, tests for custom-styles need to be added. All golden docx files have been checked in MS Word 2013 (windows). There is no corruption. There is questionable output in the `tables` test: the three tables seemed to be joined. This will be addressed in a future commit, and the golden docx file will be changed. --- test/docx/golden/image.docx | Bin 0 -> 26296 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/docx/golden/image.docx (limited to 'test/docx/golden/image.docx') diff --git a/test/docx/golden/image.docx b/test/docx/golden/image.docx new file mode 100644 index 000000000..dc49f266b Binary files /dev/null and b/test/docx/golden/image.docx differ -- cgit v1.2.3 From aadac3c8911300676333596f8428532dd43d461f Mon Sep 17 00:00:00 2001 From: "laptop1\\Andrew" Date: Sat, 24 Feb 2018 00:25:05 +0800 Subject: Docx test: adjust test for fix of bug This commit adjusts the test cases for the Docx writer after the fix of #3930. - Adjusted test cases with inline images. The inline images now have the correct sizing, title and description. - Modified the test case to include an image multiple times with different sizing each time. - Tested on Windows 8.1 with Word 2007 (12.0.6705.5000) The files are not corrupted and display exactly what is expected. --- test/docx/golden/image.docx | Bin 26296 -> 26452 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'test/docx/golden/image.docx') diff --git a/test/docx/golden/image.docx b/test/docx/golden/image.docx index dc49f266b..95a28a098 100644 Binary files a/test/docx/golden/image.docx and b/test/docx/golden/image.docx differ -- cgit v1.2.3