[Libreoffice-commits] .: sc/qa

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Tue Aug 7 15:52:55 PDT 2012


 sc/qa/unit/ucalc.cxx |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 96c5fb1dd28d2dbbe9d7130da518cbd5220bfddc
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Aug 8 00:50:17 2012 +0200

    enable tests for fixed cursor row navigation
    
    Change-Id: Ibd61def40372ef3915293414006251c60f5bda49

diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 8753a40..fc51b22 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -4629,9 +4629,7 @@ void Test::testFindAreaPosRowDown()
 
     pDoc->FindAreaPos(nCol, nRow, 0, 0, 1);
 
-    // BUG! This returns right now 4 because FindAreaPos does
-    // not yet work correctly with hidden rows
-    //CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(5), nRow);
+    CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(5), nRow);
     CPPUNIT_ASSERT_EQUAL(static_cast<SCCOL>(0), nCol);
 
     pDoc->FindAreaPos(nCol, nRow, 0, 0, 1);
@@ -4649,9 +4647,7 @@ void Test::testFindAreaPosRowDown()
 
     pDoc->FindAreaPos(nCol, nRow, 0, 0, 1);
 
-    // BUG! This returns right now 4 because FindAreaPos does
-    // not yet work correctly with hidden rows
-    //CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(3), nRow);
+    CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(3), nRow);
     CPPUNIT_ASSERT_EQUAL(static_cast<SCCOL>(1), nCol);
 
     pDoc->FindAreaPos(nCol, nRow, 0, 0, 1);


More information about the Libreoffice-commits mailing list