diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-02 00:49:39 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-02 00:50:54 +0100 |
commit | 84ae3c9853b7b90d7b859fd562dabc7b31e8deb8 (patch) | |
tree | 03eb159d629b4066ab3114bd9b1a0beae4f3c895 /sc | |
parent | 0eae161aa3bd0a7abef6f9a5cf6afef171b09704 (diff) |
add test cases for fdo#40967
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/data/contentCSV/bugFix_Sheet2.csv | 6 | ||||
-rw-r--r-- | sc/qa/unit/data/ods/bug-fixes.ods | bin | 9361 -> 10467 bytes | |||
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 6 |
3 files changed, 11 insertions, 1 deletions
diff --git a/sc/qa/unit/data/contentCSV/bugFix_Sheet2.csv b/sc/qa/unit/data/contentCSV/bugFix_Sheet2.csv new file mode 100644 index 000000000000..c6fbdda00504 --- /dev/null +++ b/sc/qa/unit/data/contentCSV/bugFix_Sheet2.csv @@ -0,0 +1,6 @@ +success +fail +success +fail +success +fail diff --git a/sc/qa/unit/data/ods/bug-fixes.ods b/sc/qa/unit/data/ods/bug-fixes.ods Binary files differindex dcdbd69e66c7..686423527107 100644 --- a/sc/qa/unit/data/ods/bug-fixes.ods +++ b/sc/qa/unit/data/ods/bug-fixes.ods diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 059ef174f988..74a90065201a 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -599,7 +599,11 @@ void ScFiltersTest::testBugFixesODS() CPPUNIT_ASSERT_MESSAGE("Failed to load bugFixes.ods", xDocSh.Is()); ScDocument* pDoc = xDocSh->GetDocument(); - CPPUNIT_ASSERT_MESSAGE("No Document", pDoc); //remove with first test + + rtl::OUString aCSVFileName; + createCSVPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("bugFix_Sheet2.")), aCSVFileName); + testFile(aCSVFileName, pDoc, 1); + xDocSh->DoClose(); } |