summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-03-14 09:16:18 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-03-14 09:17:04 -0400
commit5bbaf3739a3d95ea3fe95e9cd25aead0c8f75709 (patch)
tree1aa1e81267a6b5c9cfbd79dfaebf62c49495a89d /sc
parent51605bf98220d7e54dee20af17c33cebe23a0813 (diff)
Clean up a little.
Change-Id: I0014cc8af22e4f2284d8e72b6b79fa300ad89028
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/ucalc.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 68713dfbdb4a..cfc94e0bcad6 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -3763,10 +3763,6 @@ void Test::testMoveBlock()
pNoteC1->SetText(aAddrC1, aHelloC1);
ScAddress aAddrD1 (3, 0, 0);
- std::cout << "B1 note before moveblock: " << m_pDoc->GetNote(aAddrB1)->GetText() << std::endl;
- std::cout << "B1 note before moveblock pNoteB1: " << pNoteB1->GetText() << std::endl;
- std::cout << "B1 note before moveblock should be: " << aHelloB1 << std::endl;
-
// previous tests on cell note content are ok. this one fails !!! :(
//CPPUNIT_ASSERT_MESSAGE("Note content in B1 before move block", m_pDoc->GetNote(aAddrB1)->GetText() == aHelloB1);
@@ -3775,8 +3771,6 @@ void Test::testMoveBlock()
ScDocFunc& rDocFunc = getDocShell().GetDocFunc();
bool bMoveDone = rDocFunc.MoveBlock(ScRange(0, 0 ,0 ,2 ,0 ,0), ScAddress(1, 0, 0), bCut, false, false, false);
- // std::cout << "B1 note after moveblock: " << m_pDoc->GetNote(aAddrB1)->GetText() << std::endl;
-
CPPUNIT_ASSERT_MESSAGE("Cells not moved", bMoveDone);
//check cell content
@@ -3885,7 +3879,6 @@ void Test::testMergedCells()
aMark.SetMarkArea(aRange);
getDocShell().GetDocFunc().InsertCells(aRange, &aMark, INS_INSROWS, true, true);
m_pDoc->ExtendMerge(1, 1, nEndCol, nEndRow, 0, false);
- cout << nEndRow << nEndCol;
CPPUNIT_ASSERT_MESSAGE("did not increase merge area", nEndCol == 3 && nEndRow == 4);
m_pDoc->DeleteTab(0);
}
@@ -4034,8 +4027,7 @@ void Test::testUpdateReference()
m_pDoc->GetValue(2, 0, 2, aValue);
OUString aFormula;
m_pDoc->GetFormula(2,0,2, aFormula);
- std::cout << "formel: " << OUStringToOString(aFormula, RTL_TEXTENCODING_UTF8).getStr() << std::endl;
- std::cout << std::endl << aValue << std::endl;
+
ASSERT_DOUBLES_EQUAL_MESSAGE("after inserting sheets formula does not return correct result", aValue, 3);
m_pDoc->GetValue(2, 1, 2, aValue);
ASSERT_DOUBLES_EQUAL_MESSAGE("after inserting sheets formula does not return correct result", aValue, 5);