Module: wine Branch: master Commit: 3ca49a10d81f7b680c4a3243f62ba75f499772f8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ca49a10d81f7b680c4a3243f6...
Author: Stefan Leichter Stefan.Leichter@camline.com Date: Mon Jun 29 22:28:33 2009 +0200
oleaut32: Add two tests of function VarDateFromStr for German date format.
---
dlls/oleaut32/tests/vartype.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c index 7600946..3e5730b 100644 --- a/dlls/oleaut32/tests/vartype.c +++ b/dlls/oleaut32/tests/vartype.c @@ -3434,6 +3434,11 @@ static void test_VarDateFromStr(void) DFS("1/2/1970"); EXPECT_DBL(25570.0); DFS("1-2-1970"); EXPECT_DBL(25570.0); /* Native fails "1999 January 3, 9AM". I consider that a bug in native */ + + /* test a none english data string */ + DFS("02.01.1970 00:00:00"); EXPECT_MISMATCH; + lcid = MAKELCID(MAKELANGID(LANG_GERMAN,SUBLANG_GERMAN),SORT_DEFAULT); + DFS("02.01.1970 00:00:00"); todo_wine EXPECT_DBL(25570.0); }
static void test_VarDateCopy(void)