diff options
author | Noel Power <noel.power@suse.com> | 2013-06-24 21:40:32 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-24 21:40:32 +0100 |
commit | ee51444ed1f7003dafc93c8181b5f8c1b0fd165b (patch) | |
tree | fbe9f1aa3b27f33f112ddaecc67629de75ac63b5 /sc/qa | |
parent | 1680a8cd4f4393ec15c4f85cb63b6654117d56d1 (diff) |
fix borders unit test ( test values have changed )
Change-Id: I1205eddf83781bef655abe4a1293c691bc5f1c41
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/subsequent_filters-test.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 17bfc3271eed..f4aa9ecf631a 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -766,19 +766,19 @@ void ScFiltersTest::testBorderXLS() CPPUNIT_ASSERT(pRight); CPPUNIT_ASSERT_EQUAL(pRight->GetBorderLineStyle(), table::BorderLineStyle::SOLID); - CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),4L); + CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),1L); pDoc->GetBorderLines( 3, 5, 0, &pLeft, &pTop, &pRight, &pBottom ); CPPUNIT_ASSERT(pRight); CPPUNIT_ASSERT_EQUAL(pRight->GetBorderLineStyle(), table::BorderLineStyle::SOLID); - CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),12L); + CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),20L); pDoc->GetBorderLines( 5, 7, 0, &pLeft, &pTop, &pRight, &pBottom ); CPPUNIT_ASSERT(pRight); CPPUNIT_ASSERT_EQUAL(pRight->GetBorderLineStyle(), table::BorderLineStyle::SOLID); - CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),16L); + CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),30L); } struct Border { |