Kaydet (Commit) 96c5fb1d authored tarafından Markus Mohrhard's avatar Markus Mohrhard

enable tests for fixed cursor row navigation

Change-Id: Ibd61def40372ef3915293414006251c60f5bda49
üst cd923cfc
...@@ -4629,9 +4629,7 @@ void Test::testFindAreaPosRowDown() ...@@ -4629,9 +4629,7 @@ void Test::testFindAreaPosRowDown()
pDoc->FindAreaPos(nCol, nRow, 0, 0, 1); pDoc->FindAreaPos(nCol, nRow, 0, 0, 1);
// BUG! This returns right now 4 because FindAreaPos does CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(5), nRow);
// not yet work correctly with hidden rows
//CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(5), nRow);
CPPUNIT_ASSERT_EQUAL(static_cast<SCCOL>(0), nCol); CPPUNIT_ASSERT_EQUAL(static_cast<SCCOL>(0), nCol);
pDoc->FindAreaPos(nCol, nRow, 0, 0, 1); pDoc->FindAreaPos(nCol, nRow, 0, 0, 1);
...@@ -4649,9 +4647,7 @@ void Test::testFindAreaPosRowDown() ...@@ -4649,9 +4647,7 @@ void Test::testFindAreaPosRowDown()
pDoc->FindAreaPos(nCol, nRow, 0, 0, 1); pDoc->FindAreaPos(nCol, nRow, 0, 0, 1);
// BUG! This returns right now 4 because FindAreaPos does CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(3), nRow);
// not yet work correctly with hidden rows
//CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(3), nRow);
CPPUNIT_ASSERT_EQUAL(static_cast<SCCOL>(1), nCol); CPPUNIT_ASSERT_EQUAL(static_cast<SCCOL>(1), nCol);
pDoc->FindAreaPos(nCol, nRow, 0, 0, 1); pDoc->FindAreaPos(nCol, nRow, 0, 0, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment