[PATCH] add unittest for fdo#59240
Korrawit Pruegsanusak (via Code Review)
gerrit at gerrit.libreoffice.org
Sat Feb 9 23:52:07 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2078
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/78/2078/1
add unittest for fdo#59240
Change-Id: Ic287228f578c9ecb0f69a47380c890e337203b31
---
A sc/qa/unit/data/contentCSV/bugFix_Sheet4.csv
M sc/qa/unit/data/ods/bug-fixes.ods
M sc/qa/unit/subsequent_filters-test.cxx
3 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/sc/qa/unit/data/contentCSV/bugFix_Sheet4.csv b/sc/qa/unit/data/contentCSV/bugFix_Sheet4.csv
new file mode 100644
index 0000000..ffd5da6
--- /dev/null
+++ b/sc/qa/unit/data/contentCSV/bugFix_Sheet4.csv
@@ -0,0 +1 @@
+๑.๐๐
diff --git a/sc/qa/unit/data/ods/bug-fixes.ods b/sc/qa/unit/data/ods/bug-fixes.ods
index b7c0539..f40141b 100644
--- a/sc/qa/unit/data/ods/bug-fixes.ods
+++ b/sc/qa/unit/data/ods/bug-fixes.ods
Binary files differ
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index 09d6373..84f52ef 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -903,6 +903,13 @@
CPPUNIT_ASSERT(!pDBData->HasHeader());
}
+ {
+ // fdo#59240
+ OUString aCSVFileName;
+ createCSVPath("bugFix_Sheet4.", aCSVFileName);
+ testFile(aCSVFileName, pDoc, 3);
+ }
+
xDocSh->DoClose();
}
--
To view, visit https://gerrit.libreoffice.org/2078
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic287228f578c9ecb0f69a47380c890e337203b31
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Korrawit Pruegsanusak <detective.conan.1412 at gmail.com>
More information about the LibreOffice
mailing list