Border test now available in ww8tok
Change-Id: I5b1c3f6477583d71eece7c2b4c1b6a4ba7e6f4a2
This commit is contained in:
parent
d97370f490
commit
ba6046770f
3 changed files with 12 additions and 0 deletions
|
@ -51,6 +51,7 @@ $(eval $(call gb_CppunitTest_use_externals,sw_subsequent_ww8import,\
|
|||
$(eval $(call gb_CppunitTest_set_include,sw_subsequent_ww8import,\
|
||||
-I$(SRCDIR)/sw/inc \
|
||||
-I$(SRCDIR)/sw/source/core/inc \
|
||||
-I$(SRCDIR)/sw/qa/extras/inc \
|
||||
$$(INCLUDE) \
|
||||
))
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
BIN
sw/qa/extras/ww8tok/data/all_gaps_word.doc
Normal file
BIN
sw/qa/extras/ww8tok/data/all_gaps_word.doc
Normal file
Binary file not shown.
Loading…
Reference in a new issue