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
c55e8822
Commit
c55e8822
authored
Jan 23, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf/tests: Fix some test failures on Windows 10.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b0acb598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
inputprocessor.c
dlls/msctf/tests/inputprocessor.c
+6
-1
No files found.
dlls/msctf/tests/inputprocessor.c
View file @
c55e8822
...
...
@@ -2406,6 +2406,7 @@ static void test_AssociateFocus(void)
ITfThreadMgr_SetFocus
(
g_tm
,
dmorig
);
sink_check_ok
(
&
test_OnSetFocus
,
"OnSetFocus"
);
test_OnInitDocumentMgr
=
test_OnPushContext
=
SINK_OPTIONAL
;
/* Win10 1709+ */
test_CurrentFocus
=
FOCUS_SAVE
;
test_PrevFocus
=
FOCUS_SAVE
;
test_OnSetFocus
=
SINK_SAVE
;
...
...
@@ -2422,11 +2423,13 @@ static void test_AssociateFocus(void)
ok
(
olddm
==
dm1
,
"incorrect old DocumentMgr returned
\n
"
);
ITfDocumentMgr_Release
(
olddm
);
test_OnInitDocumentMgr
=
test_OnPushContext
=
SINK_OPTIONAL
;
/* Win10 1709+ */
test_OnSetFocus
=
SINK_IGNORE
;
/* OnSetFocus fires a couple of times on Win7 */
test_CurrentFocus
=
FOCUS_IGNORE
;
test_PrevFocus
=
FOCUS_IGNORE
;
SetFocus
(
wnd2
);
processPendingMessages
();
test_OnInitDocumentMgr
=
test_OnPushContext
=
SINK_OPTIONAL
;
/* Win10 1709+ */
SetFocus
(
wnd1
);
processPendingMessages
();
...
...
@@ -2444,6 +2447,7 @@ static void test_AssociateFocus(void)
ITfDocumentMgr_Release
(
dm1
);
test_OnPopContext
=
SINK_OPTIONAL
;
/* Win10 1709+ */
test_CurrentFocus
=
dmorig
;
test_PrevFocus
=
FOCUS_IGNORE
;
test_OnSetFocus
=
SINK_OPTIONAL
;
...
...
@@ -2454,8 +2458,9 @@ static void test_AssociateFocus(void)
test_CurrentFocus
=
FOCUS_IGNORE
;
test_PrevFocus
=
FOCUS_IGNORE
;
DestroyWindow
(
wnd1
);
test_OnPopContext
=
SINK_OPTIONAL
;
/* Win10 1709+ */
DestroyWindow
(
wnd2
);
test_OnPopContext
=
SINK_
OPTIONAL
;
/* Vista and greater
*/
test_OnPopContext
=
SINK_
IGNORE
;
/* Vista+, twice Win10 1709+
*/
test_OnSetFocus
=
SINK_OPTIONAL
;
/* Vista and greater */
ITfThreadMgr_GetFocus
(
g_tm
,
&
test_PrevFocus
);
test_CurrentFocus
=
NULL
;
...
...
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