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
2fe97d51
Commit
2fe97d51
authored
May 05, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
May 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32/tests: Adjust the ImmSetOpenStatus tests for MS Korean IME.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54864
parent
bfe01809
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
imm32.c
dlls/imm32/tests/imm32.c
+4
-6
No files found.
dlls/imm32/tests/imm32.c
View file @
2fe97d51
...
...
@@ -4762,6 +4762,8 @@ static void test_ImmSetOpenStatus(void)
ok_eq
(
0xdeadbeef
,
status
,
UINT
,
"%#x"
);
ok_eq
(
0xdeadbeef
,
ctx
->
fOpen
,
UINT
,
"%#x"
);
ok_ret
(
1
,
ImmSetOpenStatus
(
default_himc
,
0xdeadbeef
)
);
ok_seq
(
empty_sequence
);
himc
=
ImmCreateContext
();
ok_ne
(
NULL
,
himc
,
HIMC
,
"%p"
);
...
...
@@ -4777,13 +4779,9 @@ static void test_ImmSetOpenStatus(void)
memset
(
ime_calls
,
0
,
sizeof
(
ime_calls
)
);
ime_call_count
=
0
;
ok_ret
(
1
,
ImmSetOpenStatus
(
default_himc
,
0xdeadbeef
)
);
ok_seq
(
empty_sequence
);
status
=
ImmGetOpenStatus
(
default_himc
);
ok
_eq
(
0xdeadbeef
,
status
,
UINT
,
"%#x"
);
ok_eq
(
0xdeadbeef
,
ctx
->
fOpen
,
UINT
,
"%#x"
);
ok
(
status
==
0xdeadbeef
||
status
==
0
/* MS Korean IME */
,
"got status %#lx
\n
"
,
status
);
ok_eq
(
status
,
ctx
->
fOpen
,
UINT
,
"%#x"
);
ctx
->
hWnd
=
0
;
ok_ret
(
1
,
ImmSetOpenStatus
(
default_himc
,
0xfeedcafe
)
);
...
...
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