summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-10-30 08:57:06 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-10-30 09:14:09 -0400
commit8a48889071a07b9e79d54c1d8ad83389d1b285a5 (patch)
tree54f90d0bbae9c23965b9a18ccbc493ee2a2becc6 /sc
parent07a31ccc02f3553f1be3e8bb5ff67e6e6f7ce016 (diff)
Re-add missing test file and re-enable previously disabled test.
Changed the name to remove camel casing in file names. Change-Id: Ie62c35c1f7285efafd3ef9a7473d754c9f8e8147
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/data/xls/OpenclCase/financial/general.xlsbin0 -> 53760 bytes
-rw-r--r--sc/qa/unit/opencl-test.cxx6
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/unit/data/xls/OpenclCase/financial/general.xls b/sc/qa/unit/data/xls/OpenclCase/financial/general.xls
new file mode 100644
index 000000000000..bac55116ea65
--- /dev/null
+++ b/sc/qa/unit/data/xls/OpenclCase/financial/general.xls
Binary files differ
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index 1816eeb4ecab..2967c364d696 100644
--- a/sc/qa/unit/opencl-test.cxx
+++ b/sc/qa/unit/opencl-test.cxx
@@ -106,7 +106,7 @@ public:
void testFinacialYIELDMATFormula();
CPPUNIT_TEST_SUITE(ScOpenclTest);
// CPPUNIT_TEST(testSharedFormulaXLS);
-// CPPUNIT_TEST(testFinacialFormula);
+ CPPUNIT_TEST(testFinacialFormula);
CPPUNIT_TEST(testStatisticalFormulaFisher);
CPPUNIT_TEST(testStatisticalFormulaFisherInv);
CPPUNIT_TEST(testStatisticalFormulaGamma);
@@ -438,12 +438,12 @@ void ScOpenclTest::testFinacialFormula()
if (!enableOpenCL())
return;
- ScDocShellRef xDocSh = loadDoc("FinancialFormulaTest.", XLS);
+ ScDocShellRef xDocSh = loadDoc("OpenclCase/financial/general.", XLS);
CPPUNIT_ASSERT_MESSAGE("Failed to load document.", xDocSh.Is());
ScDocument* pDoc = xDocSh->GetDocument();
CPPUNIT_ASSERT(pDoc);
xDocSh->DoHardRecalc(true);
- ScDocShellRef xDocShRes = loadDoc("FinancialFormulaTest.", XLS);
+ ScDocShellRef xDocShRes = loadDoc("OpenclCase/financial/general.", XLS);
CPPUNIT_ASSERT_MESSAGE("Failed to load document.", xDocShRes.Is());
ScDocument* pDocRes = xDocShRes->GetDocument();
CPPUNIT_ASSERT(pDocRes);