[Libreoffice-commits] core.git: svl/qa
Eike Rathke
erack at redhat.com
Wed May 30 14:23:34 UTC 2018
svl/qa/unit/svl.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit a8f8cf72b2b9e912dc4a5aebef55d9b2c0969462
Author: Eike Rathke <erack at redhat.com>
Date: Wed May 30 16:20:42 2018 +0200
Add unit test for tdf#117819
Change-Id: Ice57b81106d35f5b217f0680824d1acf62ff9098
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index 6e90143f5a08..679340afd67a 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1502,6 +1502,12 @@ void Test::testUserDefinedNumberFormats()
sCode = "\"Finnish: \"YYYY/MM/DD HH:MM:SS";
checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected);
}
+ { // tdf#117819 wrong separator positions when displaying integers with
+ // more decimals than rtl::math::doubleToUString delivers.
+ sCode = "#,##0.00000000000000000000";
+ sExpected = "117,669,030,460,994.00000000000000000000";
+ checkPreviewString(aFormatter, sCode, 117669030460994.0, LANGUAGE_ENGLISH_US, sExpected);
+ }
}
void Test::testNfEnglishKeywordsIntegrity()
More information about the Libreoffice-commits
mailing list