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
7517135f
Commit
7517135f
authored
Sep 10, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32/tests: Fix test failures on Vista/W2K8.
parent
5e68c071
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
imm32.c
dlls/imm32/tests/imm32.c
+11
-5
No files found.
dlls/imm32/tests/imm32.c
View file @
7517135f
...
...
@@ -191,10 +191,12 @@ static void test_ImmNotifyIME(void) {
imc
=
ImmGetContext
(
hwnd
);
msg_spy_flush_msgs
();
ret
=
ImmNotifyIME
(
imc
,
NI_COMPOSITIONSTR
,
CPS_CANCEL
,
0
);
todo_wine
{
ok
(
!
ImmNotifyIME
(
imc
,
NI_COMPOSITIONSTR
,
CPS_CANCEL
,
0
),
"Canceling an "
"empty composition string should fail.
\n
"
);
ok
(
!
ret
||
broken
(
ret
),
/* Vista and W2K8 */
"Canceling an empty composition string should fail.
\n
"
);
}
ok
(
!
msg_spy_find_msg
(
WM_IME_COMPOSITION
),
"Windows does not post "
"WM_IME_COMPOSITION in response to NI_COMPOSITIONSTR / CPS_CANCEL, if "
...
...
@@ -214,10 +216,12 @@ static void test_ImmNotifyIME(void) {
msg_spy_flush_msgs
();
ret
=
ImmNotifyIME
(
imc
,
NI_COMPOSITIONSTR
,
CPS_CANCEL
,
0
);
todo_wine
{
ok
(
!
ImmNotifyIME
(
imc
,
NI_COMPOSITIONSTR
,
CPS_CANCEL
,
0
),
"Canceling an "
"empty composition string should fail.
\n
"
);
ok
(
!
ret
||
broken
(
ret
),
/* Vista and W2K8 */
"Canceling an empty composition string should fail.
\n
"
);
}
ok
(
!
msg_spy_find_msg
(
WM_IME_COMPOSITION
),
"Windows does not post "
"WM_IME_COMPOSITION in response to NI_COMPOSITIONSTR / CPS_CANCEL, if "
...
...
@@ -264,7 +268,9 @@ static void test_ImmSetCompositionString(void)
ret
=
ImmSetCompositionStringW
(
imc
,
SCS_SETSTR
,
NULL
,
0
,
NULL
,
0
);
todo_wine
ok
(
!
ret
,
"ImmSetCompositionStringW() succeeded.
\n
"
);
ok
(
!
ret
||
broken
(
ret
),
/* Vista and W2K8 */
"ImmSetCompositionStringW() succeeded.
\n
"
);
ret
=
ImmSetCompositionStringW
(
imc
,
SCS_SETSTR
|
SCS_CHANGEATTR
,
NULL
,
0
,
NULL
,
0
);
...
...
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