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

Alexandre Julliard julliard at winehq.org
Fri Feb 25 07:30:22 CST 2022


Module: wine
Branch: oldstable
Commit: dffceba79976db0fe42481b38d66ae6783a53b7d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=dffceba79976db0fe42481b38d66ae6783a53b7d

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>
(cherry picked from commit 54ee0e9bfd70072f00ac2c330ddf853b3439cde8)
Signed-off-by: Michael Stefaniuc <mstefani 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=dffceba79976db0fe42481b38d66ae6783a53b7d



More information about the wine-cvs mailing list