[Libreoffice-commits] core.git: Branch 'feature/sc-notes-storage' - sc/qa
Laurent Godard
lgodard.libre at laposte.net
Mon Sep 16 01:08:03 PDT 2013
sc/qa/unit/ucalc.cxx | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
New commits:
commit fd3908d780aae8c14769b12f27c6577593c33487
Author: Laurent Godard <lgodard.libre at laposte.net>
Date: Mon Sep 16 10:06:41 2013 +0200
correctly comment failing unit test
to be re-worked
Change-Id: Ic688c2c2975d2240edb9a7899908a9acd77d973c
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 91cfafd..4891e13 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -3693,9 +3693,7 @@ void Test::testSortWithFormulaRefs()
aSortData.maKeyState[0].bDoSort = true;
aSortData.maKeyState[0].nField = 0;
- std::cout << "Sort" << std::endl;
pDoc->Sort(0, aSortData, false, NULL);
- std::cout << "Sort done" << std::endl;
nEnd = SAL_N_ELEMENTS( aResults );
for ( SCROW i = nStart; i < nEnd; ++i )
@@ -3744,18 +3742,16 @@ void Test::testSort()
aSortData.maKeyState[0].nField = 1;
aSortData.maKeyState[0].bAscending = true;
- std::cout << "Sort test" << std::endl;
-// m_pDoc->Sort(0, aSortData, false, NULL); // TODO : notes crash
- std::cout << "skipped" << std::endl;
+/* TODO : notes crash
+ m_pDoc->Sort(0, aSortData, false, NULL); // TODO : notes crash
+
double nVal = m_pDoc->GetValue(1,0,0);
ASSERT_DOUBLES_EQUAL(nVal, 1.0);
- // check that note is also moved
-/* TODO : notes GetNotes
- pNote = m_pDoc->GetNote(1, 0, 0);
+ // check that note is also moved after sorting
+ pNote = m_pDoc->GetNote(1, 0, 0); //TODO : notes GetNotes
CPPUNIT_ASSERT(pNote);
*/
-
clearRange(m_pDoc, ScRange(0, 0, 0, 1, 9, 0)); // Clear A1:B10.
{
// 0 = empty cell
More information about the Libreoffice-commits
mailing list