oleaut32: Add two tests of function VarDateFromStr for German date format.

This commit is contained in:
Stefan Leichter 2009-06-29 22:28:33 +02:00 committed by Alexandre Julliard
parent af8348c5b7
commit 3ca49a10d8
1 changed files with 5 additions and 0 deletions

View File

@ -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)