[Libreoffice-commits] core.git: 2 commits - sc/qa
Tor Lillqvist
tml at collabora.com
Mon Aug 14 06:03:57 UTC 2017
sc/qa/unit/parallelism.cxx | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
New commits:
commit 3452d662632b3ac3a3092a83c227780444a85b99
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Aug 14 09:02:27 2017 +0300
Bin some unnecessary temporary code
Change-Id: Ia9fef2a500ed0a6177612e845aa58976c602a66f
diff --git a/sc/qa/unit/parallelism.cxx b/sc/qa/unit/parallelism.cxx
index 50bfd27c1284..da5346e1eb5b 100644
--- a/sc/qa/unit/parallelism.cxx
+++ b/sc/qa/unit/parallelism.cxx
@@ -97,13 +97,6 @@ void ScParallelismTest::testSUMIFS()
m_pDoc->SetValue(0, 0, 0, 1001);
- /*E1*/ m_pDoc->SetFormula(ScAddress(5, 0, 0),
- "=$F$2+$F$3",
- formula::FormulaGrammar::GRAM_ENGLISH);
- /*F1*/ m_pDoc->SetFormula(ScAddress(6, 0, 0),
- "=SUM($F$2:$F$3)",
- formula::FormulaGrammar::GRAM_ENGLISH);
-
for (auto i = 1; i < 1000; i++)
{
/*A*/ m_pDoc->SetValue(0, i, 0, i/10 + 1000);
@@ -143,12 +136,6 @@ void ScParallelismTest::testSUMIFS()
std::cerr << "A1=" << m_pDoc->GetValue(0, 0, 0) << std::endl;
- m_pDoc->GetFormula(5, 0, 0, sFormula);
- std::cerr << "E1=\"" << sFormula << "\"=" << m_pDoc->GetValue(5, 0, 0) << std::endl;
-
- m_pDoc->GetFormula(6, 0, 0, sFormula);
- std::cerr << "F1=\"" << sFormula << "\"=" << m_pDoc->GetValue(6, 0, 0) << std::endl;
-
std::cerr << " A,B,C F L,M" << std::endl;
for (auto i = 1; i < 30; i++)
{
commit b74f584e3bf146e149d8fc4ff4534acd8afcc830
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Aug 14 08:55:49 2017 +0300
Delete sheet when done
Change-Id: Ic35d21ee2cc5ab1481dd5b72150bfc8c82237f80
diff --git a/sc/qa/unit/parallelism.cxx b/sc/qa/unit/parallelism.cxx
index 43394468aca1..50bfd27c1284 100644
--- a/sc/qa/unit/parallelism.cxx
+++ b/sc/qa/unit/parallelism.cxx
@@ -172,6 +172,8 @@ void ScParallelismTest::testSUMIFS()
OString sMessage = "At row " + OString::number(i+1);
CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(sMessage.getStr(), m_pDoc->GetValue(5, 10+i%10, 0), m_pDoc->GetValue(15, i, 0), 1e-10);
}
+
+ m_pDoc->DeleteTab(0);
}
CPPUNIT_TEST_SUITE_REGISTRATION(ScParallelismTest);
More information about the Libreoffice-commits
mailing list