[Libreoffice-commits] .: sc/qa
Markus Mohrhard
mmohrhard at kemper.freedesktop.org
Tue Nov 1 16:52:18 PDT 2011
sc/qa/unit/data/contentCSV/bugFix_Sheet2.csv | 6 ++++++
sc/qa/unit/data/ods/bug-fixes.ods |binary
sc/qa/unit/filters-test.cxx | 6 +++++-
3 files changed, 11 insertions(+), 1 deletion(-)
New commits:
commit 84ae3c9853b7b90d7b859fd562dabc7b31e8deb8
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Wed Nov 2 00:49:39 2011 +0100
add test cases for fdo#40967
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 0000000..c6fbdda
--- /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
index dcdbd69..6864235 100644
Binary files a/sc/qa/unit/data/ods/bug-fixes.ods and b/sc/qa/unit/data/ods/bug-fixes.ods differ
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 059ef17..74a9006 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();
}
More information about the Libreoffice-commits
mailing list