[Libreoffice-commits] core.git: sw/qa

Miklos Vajna vmiklos at collabora.co.uk
Tue Mar 11 08:38:12 PDT 2014


 sw/qa/extras/ooxmlimport/data/i124106.docx |binary
 sw/qa/extras/ooxmlimport/ooxmlimport.cxx   |    6 ++++++
 2 files changed, 6 insertions(+)

New commits:
commit 30d94b0c40a12619d77aba5525d71538787813dc
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Mar 11 16:23:24 2014 +0100

    i#124106 testcase
    
    Change-Id: I732b4f8d758aac30e039d30e059aad0597307081

diff --git a/sw/qa/extras/ooxmlimport/data/i124106.docx b/sw/qa/extras/ooxmlimport/data/i124106.docx
new file mode 100644
index 0000000..de1d542
Binary files /dev/null and b/sw/qa/extras/ooxmlimport/data/i124106.docx differ
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index f788f92..bfc8af0 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -1941,6 +1941,12 @@ DECLARE_OOXMLIMPORT_TEST(testStrictLockedcanvas, "strict-lockedcanvas.docx")
     getShape(1);
 }
 
+DECLARE_OOXMLIMPORT_TEST(testI124106, "i124106.docx")
+{
+    // This was 2.
+    CPPUNIT_ASSERT_EQUAL(1, getPages());
+}
+
 #endif
 
 CPPUNIT_PLUGIN_IMPLEMENT();


More information about the Libreoffice-commits mailing list