[Libreoffice-commits] core.git: sc/qa
Kohei Yoshida
kohei.yoshida at collabora.com
Thu Feb 6 12:16:54 PST 2014
dev/null |binary
sc/qa/unit/data/xls/shared-formula/basic.xls |binary
sc/qa/unit/data/xls/shared-formula/gap.xls |binary
sc/qa/unit/data/xlsx/shared-formula/basic.xlsx |binary
sc/qa/unit/filters-test.cxx | 6 +++---
5 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 668fefcea085f39a6fa610b93a712c5e250ccf1a
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Thu Feb 6 15:20:05 2014 -0500
Create shared-formula directories and store test files there.
We'll lilkely be adding lots of test files for Excel's shared formula
import.
Change-Id: Ic328423e4f39b811944a330a1966d5bd887ff70c
diff --git a/sc/qa/unit/data/xls/shared-formula.xls b/sc/qa/unit/data/xls/shared-formula/basic.xls
similarity index 100%
rename from sc/qa/unit/data/xls/shared-formula.xls
rename to sc/qa/unit/data/xls/shared-formula/basic.xls
diff --git a/sc/qa/unit/data/xls/shared-formula-gap.xls b/sc/qa/unit/data/xls/shared-formula/gap.xls
similarity index 100%
rename from sc/qa/unit/data/xls/shared-formula-gap.xls
rename to sc/qa/unit/data/xls/shared-formula/gap.xls
diff --git a/sc/qa/unit/data/xlsx/shared-formula.xlsx b/sc/qa/unit/data/xlsx/shared-formula/basic.xlsx
similarity index 100%
rename from sc/qa/unit/data/xlsx/shared-formula.xlsx
rename to sc/qa/unit/data/xlsx/shared-formula/basic.xlsx
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 10dfea9..53f8c76 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -348,7 +348,7 @@ void ScFiltersTest::testContentXLS_XML()
void ScFiltersTest::testSharedFormulaXLS()
{
- ScDocShellRef xDocSh = loadDoc("shared-formula.", XLS);
+ ScDocShellRef xDocSh = loadDoc("shared-formula/basic.", XLS);
CPPUNIT_ASSERT(xDocSh.Is());
ScDocument* pDoc = xDocSh->GetDocument();
xDocSh->DoHardRecalc(true);
@@ -372,7 +372,7 @@ void ScFiltersTest::testSharedFormulaXLS()
// Excel can easily mess up shared formula ranges, so we need to be able
// to handle these wrong ranges that Excel stores.
- xDocSh = loadDoc("shared-formula-gap.", XLS);
+ xDocSh = loadDoc("shared-formula/gap.", XLS);
CPPUNIT_ASSERT(xDocSh.Is());
pDoc = xDocSh->GetDocument();
pDoc->CalcAll();
@@ -417,7 +417,7 @@ void ScFiltersTest::testSharedFormulaXLS()
void ScFiltersTest::testSharedFormulaXLSX()
{
- ScDocShellRef xDocSh = loadDoc("shared-formula.", XLSX);
+ ScDocShellRef xDocSh = loadDoc("shared-formula/basic.", XLSX);
ScDocument* pDoc = xDocSh->GetDocument();
CPPUNIT_ASSERT(pDoc);
xDocSh->DoHardRecalc(true);
More information about the Libreoffice-commits
mailing list