Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
83ae4a92
Commit
83ae4a92
authored
Apr 24, 2008
by
Kusanagi Kouichi
Committed by
Alexandre Julliard
Apr 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Fix a meaningless test.
ImmSetCompositionString generates WM_IME_COMPOSITION. Therefore test always fails if messages are not flushed.
parent
4baf6e7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
imm32.c
dlls/imm32/tests/imm32.c
+4
-7
No files found.
dlls/imm32/tests/imm32.c
View file @
83ae4a92
...
...
@@ -191,16 +191,13 @@ static int test_ImmNotifyIME(void) {
"WM_IME_COMPOSITION in response to NI_COMPOSITIONSTR / CPS_CANCEL, if "
"the composition string being canceled is empty.
\n
"
);
ImmSetCompositionString
(
imc
,
SCS_SETSTR
,
string
,
sizeof
(
string
),
NULL
,
0
);
msg_spy_flush_msgs
();
ImmSetCompositionString
(
imc
,
SCS_SETSTR
,
string
,
sizeof
(
string
),
NULL
,
0
);
ImmNotifyIME
(
imc
,
NI_COMPOSITIONSTR
,
CPS_CANCEL
,
0
);
todo_wine
{
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 non empty.
\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 non empty.
\n
"
);
/* behavior differs between win9x and NT */
ret
=
ImmGetCompositionString
(
imc
,
GCS_COMPSTR
,
resstr
,
sizeof
(
resstr
));
...
...
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