summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorArtur Dorda <artur.dorda+libo@gmail.com>2012-07-28 13:49:12 +0200
committerArtur Dorda <artur.dorda+libo@gmail.com>2012-08-15 13:42:11 +0200
commitba6046770f73402a65defd6c7b2cd40f5542fe5b (patch)
tree9a859cf82429e8613ae104c8ea76da3e28cca80f /sw/qa/extras
parentd97370f490b34fbe662ce3a933aa3bc30161156b (diff)
Border test now available in ww8tok
Change-Id: I5b1c3f6477583d71eece7c2b4c1b6a4ba7e6f4a2
Diffstat (limited to 'sw/qa/extras')
-rw-r--r--sw/qa/extras/ww8import/ww8import.cxx11
-rw-r--r--sw/qa/extras/ww8tok/data/all_gaps_word.docbin0 -> 32256 bytes
2 files changed, 11 insertions, 0 deletions
diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx
index a3bdb978dba6..e208a9b5ca29 100644
--- a/sw/qa/extras/ww8import/ww8import.cxx
+++ b/sw/qa/extras/ww8import/ww8import.cxx
@@ -26,6 +26,7 @@
*/
#include "../swmodeltestbase.hxx"
+#include "bordertest.hxx"
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/table/BorderLine2.hpp>
@@ -49,6 +50,7 @@ public:
void testN652364();
void testN757118();
void testN757905();
+ void testAllGapsWord();
CPPUNIT_TEST_SUITE(Test);
#if !defined(MACOSX) && !defined(WNT)
@@ -58,6 +60,7 @@ public:
CPPUNIT_TEST(testN652364);
CPPUNIT_TEST(testN757118);
CPPUNIT_TEST(testN757905);
+ CPPUNIT_TEST(testAllGapsWord);
#endif
CPPUNIT_TEST_SUITE_END();
@@ -223,6 +226,14 @@ void Test::testN757905()
CPPUNIT_ASSERT(sal_Int32(31) < aHeight.toInt32());
}
+void Test::testAllGapsWord()
+{
+ load("all_gaps_word.doc");
+ BorderTest borderTest;
+ borderTest.testTheBorders(mxComponent);
+}
+
+
CPPUNIT_TEST_SUITE_REGISTRATION(Test);
CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/sw/qa/extras/ww8tok/data/all_gaps_word.doc b/sw/qa/extras/ww8tok/data/all_gaps_word.doc
new file mode 100644
index 000000000000..d5c61a6c44d3
--- /dev/null
+++ b/sw/qa/extras/ww8tok/data/all_gaps_word.doc
Binary files differ