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
e4e55ed8
Commit
e4e55ed8
authored
Nov 30, 2009
by
Ilya Shpigor
Committed by
Alexandre Julliard
Dec 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Test the WM_GETTEXT processing of datetime control.
parent
e4faa129
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
datetime.c
dlls/comctl32/tests/datetime.c
+5
-1
No files found.
dlls/comctl32/tests/datetime.c
View file @
e4e55ed8
...
...
@@ -659,7 +659,7 @@ static void test_dtm_set_and_get_system_time(void)
static
void
test_wm_set_get_text
(
void
)
{
static
const
CHAR
a_str
[]
=
"a"
;
char
buff
[
1
0
];
char
buff
[
1
6
],
time
[
16
];
HWND
hWnd
;
LRESULT
ret
;
...
...
@@ -674,6 +674,10 @@ static void test_wm_set_get_text(void)
ret
=
SendMessage
(
hWnd
,
WM_GETTEXT
,
sizeof
(
buff
),
(
LPARAM
)
buff
);
ok
(
strcmp
(
buff
,
a_str
)
!=
0
,
"Expected text not to change, got %s
\n
"
,
buff
);
GetDateFormat
(
LOCALE_USER_DEFAULT
,
0
,
NULL
,
NULL
,
time
,
sizeof
(
time
));
todo_wine
ok
(
!
strcmp
(
buff
,
time
),
"Expected %s, got %s
\n
"
,
time
,
buff
);
DestroyWindow
(
hWnd
);
}
...
...
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