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
d1f9aae5
Commit
d1f9aae5
authored
Jun 20, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32/tests: Test how deleting a character can behave.
parent
5efe29ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
imm32.c
dlls/imm32/tests/imm32.c
+22
-0
No files found.
dlls/imm32/tests/imm32.c
View file @
d1f9aae5
...
...
@@ -7219,6 +7219,20 @@ static void test_ga_na_da(void)
.
hkl
=
default_hkl
,
.
himc
=
0
/*himc*/
,
.
func
=
MSG_TEST_WIN
,
.
comp
=
L"\u3131"
,
.
result
=
L""
,
.
message
=
{.
msg
=
WM_IME_COMPOSITION
,
.
wparam
=
0x3131
,
.
lparam
=
GCS_COMPSTR
|
GCS_COMPATTR
|
CS_INSERTCHAR
|
CS_NOMOVECARET
},
},
{
.
hkl
=
default_hkl
,
.
himc
=
0
/*himc*/
,
.
func
=
MSG_TEST_WIN
,
.
comp
=
L""
,
.
result
=
L""
,
.
message
=
{.
msg
=
WM_IME_COMPOSITION
,
.
wparam
=
0x1b
,
.
lparam
=
GCS_CURSORPOS
|
GCS_DELTASTART
|
GCS_COMPSTR
|
GCS_COMPATTR
|
GCS_COMPCLAUSE
|
GCS_COMPREADSTR
|
GCS_COMPREADATTR
|
GCS_COMPREADCLAUSE
},
},
{.
hkl
=
default_hkl
,
.
himc
=
0
/*himc*/
,
.
func
=
MSG_TEST_WIN
,
.
message
=
{.
msg
=
WM_IME_ENDCOMPOSITION
,
.
wparam
=
0
,
.
lparam
=
0
}},
/* G */
{.
hkl
=
default_hkl
,
.
himc
=
0
/*himc*/
,
.
func
=
MSG_TEST_WIN
,
.
message
=
{.
msg
=
WM_IME_STARTCOMPOSITION
,
.
wparam
=
0
,
.
lparam
=
0
}},
{
.
hkl
=
default_hkl
,
.
himc
=
0
/*himc*/
,
.
func
=
MSG_TEST_WIN
,
.
comp
=
L"\u3131"
,
.
result
=
L""
,
.
message
=
{.
msg
=
WM_IME_COMPOSITION
,
.
wparam
=
0x3131
,
.
lparam
=
GCS_COMPSTR
|
GCS_COMPATTR
|
CS_INSERTCHAR
|
CS_NOMOVECARET
},
},
/* A */
{
.
hkl
=
default_hkl
,
.
himc
=
0
/*himc*/
,
.
func
=
MSG_TEST_WIN
,
.
comp
=
L"\uac00"
,
.
result
=
L""
,
...
...
@@ -7377,6 +7391,14 @@ static void test_ga_na_da(void)
flush_events
();
keybd_event
(
'R'
,
0x13
,
KEYEVENTF_KEYUP
,
0
);
keybd_event
(
VK_BACK
,
0x0e
,
0
,
0
);
flush_events
();
keybd_event
(
VK_BACK
,
0x0e
,
KEYEVENTF_KEYUP
,
0
);
keybd_event
(
'R'
,
0x13
,
0
,
0
);
flush_events
();
keybd_event
(
'R'
,
0x13
,
KEYEVENTF_KEYUP
,
0
);
keybd_event
(
'K'
,
0x25
,
0
,
0
);
flush_events
();
keybd_event
(
'K'
,
0x25
,
KEYEVENTF_KEYUP
,
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