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
3317fc38
Commit
3317fc38
authored
Apr 28, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Apr 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Fix tests to apply to Vista+ as it does the same as Wine.
parent
8f1e00a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
16 deletions
+9
-16
imm32.c
dlls/imm32/tests/imm32.c
+9
-16
No files found.
dlls/imm32/tests/imm32.c
View file @
3317fc38
...
...
@@ -198,12 +198,9 @@ static void test_ImmNotifyIME(void) {
msg_spy_flush_msgs
();
ret
=
ImmNotifyIME
(
imc
,
NI_COMPOSITIONSTR
,
CPS_CANCEL
,
0
);
todo_wine
{
ok
(
!
ret
||
broken
(
ret
),
/* Vista and W2K8 */
"Canceling an empty composition string should fail.
\n
"
);
}
ok
(
broken
(
!
ret
)
||
ret
,
/* Vista+ */
"Canceling an empty composition string should succeed.
\n
"
);
ok
(
!
msg_spy_find_msg
(
WM_IME_COMPOSITION
),
"Windows does not post "
"WM_IME_COMPOSITION in response to NI_COMPOSITIONSTR / CPS_CANCEL, if "
"the composition string being canceled is empty.
\n
"
);
...
...
@@ -223,12 +220,9 @@ static void test_ImmNotifyIME(void) {
msg_spy_flush_msgs
();
ret
=
ImmNotifyIME
(
imc
,
NI_COMPOSITIONSTR
,
CPS_CANCEL
,
0
);
todo_wine
{
ok
(
!
ret
||
broken
(
ret
),
/* Vista and W2K8 */
"Canceling an empty composition string should fail.
\n
"
);
}
ok
(
broken
(
!
ret
)
||
ret
,
/* Vista+ */
"Canceling an empty composition string should succeed.
\n
"
);
ok
(
!
msg_spy_find_msg
(
WM_IME_COMPOSITION
),
"Windows does not post "
"WM_IME_COMPOSITION in response to NI_COMPOSITIONSTR / CPS_CANCEL, if "
"the composition string being canceled is empty.
\n
"
);
...
...
@@ -273,10 +267,9 @@ static void test_ImmSetCompositionString(void)
return
;
ret
=
ImmSetCompositionStringW
(
imc
,
SCS_SETSTR
,
NULL
,
0
,
NULL
,
0
);
todo_wine
ok
(
!
ret
||
broken
(
ret
),
/* Vista and W2K8 */
"ImmSetCompositionStringW() succeeded.
\n
"
);
ok
(
broken
(
!
ret
)
||
ret
,
/* Vista+ */
"ImmSetCompositionStringW() failed.
\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