Kaydet (Commit) cfbd57de authored tarafından Markus Mohrhard's avatar Markus Mohrhard

add test for tdf#43534

Change-Id: Ib707c418bc501449fa5dab70d56b3b961f6e6169
üst ec079b9f
...@@ -81,11 +81,13 @@ public: ...@@ -81,11 +81,13 @@ public:
void testTdf64229(); void testTdf64229();
void testTdf36933(); void testTdf36933();
void testTdf43700(); void testTdf43700();
void testTdf43534();
CPPUNIT_TEST_SUITE(ScFiltersTest); CPPUNIT_TEST_SUITE(ScFiltersTest);
CPPUNIT_TEST(testTdf64229); CPPUNIT_TEST(testTdf64229);
CPPUNIT_TEST(testTdf36933); CPPUNIT_TEST(testTdf36933);
CPPUNIT_TEST(testTdf43700); CPPUNIT_TEST(testTdf43700);
CPPUNIT_TEST(testTdf43534);
CPPUNIT_TEST_SUITE_END(); CPPUNIT_TEST_SUITE_END();
private: private:
uno::Reference<uno::XInterface> m_xCalcComponent; uno::Reference<uno::XInterface> m_xCalcComponent;
...@@ -145,6 +147,24 @@ void ScFiltersTest::testTdf43700() ...@@ -145,6 +147,24 @@ void ScFiltersTest::testTdf43700()
xDocSh->DoClose(); xDocSh->DoClose();
} }
void ScFiltersTest::testTdf43534()
{
ScDocShellRef xDocSh = loadDoc("fdo43534test.", ODS);
xDocSh->DoHardRecalc(true);
CPPUNIT_ASSERT_MESSAGE("Failed to load fdo43534test.*", xDocSh.Is());
ScDocument& rDoc = xDocSh->GetDocument();
OUString aCSVFileName;
//test hard recalc: document has an incorrect cached formula result
//hard recalc should have updated to the correct result
createCSVPath(OUString("fdo43534test."), aCSVFileName);
testFile(aCSVFileName, rDoc, 0);
xDocSh->DoClose();
}
ScFiltersTest::ScFiltersTest() ScFiltersTest::ScFiltersTest()
: ScBootstrapFixture( "/sc/qa/unit/data" ) : ScBootstrapFixture( "/sc/qa/unit/data" )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment