[Libreoffice-commits] .: sc/qa
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Jan 19 09:58:26 PST 2011
sc/qa/unit/ucalc.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 04ce03b43c6175a05c45a858b661422e34911206
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Wed Jan 19 12:58:06 2011 -0500
Re-enabled the sheet copy test now that it passes.
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index ab20868..1beec19 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -576,9 +576,7 @@ void Test::testSheetCopy()
m_pDoc->CopyTab(0, 1);
CPPUNIT_ASSERT_MESSAGE("document now should have two sheets.", m_pDoc->GetTableCount() == 2);
bHidden = m_pDoc->RowHidden(0, 1, &nRow1, &nRow2);
-#if 0 // this currently fails due to i#116439.
CPPUNIT_ASSERT_MESSAGE("copied sheet should also have all rows visible as the original.", !bHidden && nRow1 == 0 && nRow2 == MAXROW);
-#endif
m_pDoc->DeleteTab(1);
m_pDoc->SetRowHidden(5, 10, 0, true);
@@ -591,7 +589,6 @@ void Test::testSheetCopy()
// Copy the sheet once again.
m_pDoc->CopyTab(0, 1);
-#if 0 // These tests fail also. Re-enable this once i#116439 gets fixed.
CPPUNIT_ASSERT_MESSAGE("document now should have two sheets.", m_pDoc->GetTableCount() == 2);
bHidden = m_pDoc->RowHidden(0, 1, &nRow1, &nRow2);
CPPUNIT_ASSERT_MESSAGE("rows 0 - 4 should be visible", !bHidden && nRow1 == 0 && nRow2 == 4);
@@ -599,7 +596,6 @@ void Test::testSheetCopy()
CPPUNIT_ASSERT_MESSAGE("rows 5 - 10 should be hidden", bHidden && nRow1 == 5 && nRow2 == 10);
bHidden = m_pDoc->RowHidden(11, 1, &nRow1, &nRow2);
CPPUNIT_ASSERT_MESSAGE("rows 11 - maxrow should be visible", !bHidden && nRow1 == 11 && nRow2 == MAXROW);
-#endif
m_pDoc->DeleteTab(0);
}
More information about the Libreoffice-commits
mailing list