Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cb0d7276
Commit
cb0d7276
authored
Nov 28, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Some VarDateFromStr() tests.
parent
90ed396b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vartype.c
dlls/oleaut32/tests/vartype.c
+4
-0
No files found.
dlls/oleaut32/tests/vartype.c
View file @
cb0d7276
...
...
@@ -3436,6 +3436,8 @@ static void test_VarDateFromStr(void)
DFS
(
"1 2 1970"
);
EXPECT_DBL
(
25570
.
0
);
DFS
(
"1/2/1970"
);
EXPECT_DBL
(
25570
.
0
);
DFS
(
"1-2-1970"
);
EXPECT_DBL
(
25570
.
0
);
DFS
(
"13-1-1970"
);
EXPECT_DBL
(
25581
.
0
);
DFS
(
"1970-1-13"
);
EXPECT_DBL
(
25581
.
0
);
/* Native fails "1999 January 3, 9AM". I consider that a bug in native */
/* test a non-english data string */
...
...
@@ -3443,6 +3445,8 @@ static void test_VarDateFromStr(void)
DFS
(
"02.01.1970 00:00:00"
);
EXPECT_MISMATCH
;
lcid
=
MAKELCID
(
MAKELANGID
(
LANG_GERMAN
,
SUBLANG_GERMAN
),
SORT_DEFAULT
);
DFS
(
"02.01.1970"
);
EXPECT_DBL
(
25570
.
0
);
DFS
(
"02.13.1970"
);
EXPECT_DBL
(
25612
.
0
);
DFS
(
"02-13-1970"
);
EXPECT_DBL
(
25612
.
0
);
DFS
(
"02.01.1970 00:00:00"
);
EXPECT_DBL
(
25570
.
0
);
lcid
=
MAKELCID
(
MAKELANGID
(
LANG_SPANISH
,
SUBLANG_SPANISH
),
SORT_DEFAULT
);
DFS
(
"02.01.1970"
);
EXPECT_MISMATCH
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment