Francois Gouget : oleaut32/tests: Add more VarParseNumFromStr() tests.

Alexandre Julliard julliard at winehq.org
Mon Jul 19 15:59:15 CDT 2021


Module: wine
Branch: master
Commit: 54ee0e9bfd70072f00ac2c330ddf853b3439cde8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=54ee0e9bfd70072f00ac2c330ddf853b3439cde8

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Jul 16 17:16:08 2021 +0200

oleaut32/tests: Add more VarParseNumFromStr() tests.

Check how it handles currency signs and spaces before and after the
digits.
Check the combination of thousands separators, spaces and commas. Check
handling of regular vs. non-breaking spaces since the latter are often
used in some locales.
And check what happens in the French locale where spaces and thousands
separators are identical and the currency sign comes after the digits
and, quite often, a space.
Check handling of multi-character currency symbols.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/oleaut32/tests/vartest.c | 480 ++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 460 insertions(+), 20 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=54ee0e9bfd70072f00ac2c330ddf853b3439cde8



More information about the wine-cvs mailing list