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
24eaf193
Commit
24eaf193
authored
Jul 25, 2011
by
Austin English
Committed by
Alexandre Julliard
Jul 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf/tests: Make sure return values are used (LLVM/Clang).
parent
19f58e88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
inputprocessor.c
dlls/msctf/tests/inputprocessor.c
+3
-1
No files found.
dlls/msctf/tests/inputprocessor.c
View file @
24eaf193
...
...
@@ -1453,7 +1453,7 @@ static void test_startSession(void)
ok
(
SUCCEEDED
(
hr
),
"GetFocus Failed
\n
"
);
ok
(
g_dm
==
dmtest
,
"Expected DocumentMgr not focused
\n
"
);
cnt
=
ITfDocumentMgr_Release
(
g_dm
);
ITfDocumentMgr_Release
(
g_dm
);
hr
=
ITfThreadMgr_GetFocus
(
g_tm
,
&
dmtest
);
ok
(
SUCCEEDED
(
hr
),
"GetFocus Failed
\n
"
);
...
...
@@ -1807,6 +1807,7 @@ TfEditCookie ec)
selection
.
style
.
fInterimChar
=
FALSE
;
test_ACP_SetSelection
=
SINK_EXPECTED
;
hr
=
ITfContext_SetSelection
(
cxt
,
ec
,
1
,
&
selection
);
ok
(
SUCCEEDED
(
hr
),
"ITfContext_SetSelection failed
\n
"
);
sink_check_ok
(
&
test_ACP_SetSelection
,
"SetSelection"
);
ITfRange_Release
(
range
);
...
...
@@ -2010,6 +2011,7 @@ static void test_AssociateFocus(void)
test_OnSetFocus
=
SINK_OPTIONAL
;
/* Doesn't always fire on Win7 */
test_ACP_GetStatus
=
SINK_OPTIONAL
;
hr
=
ITfThreadMgr_SetFocus
(
g_tm
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"ITfThreadMgr_SetFocus failed
\n
"
);
sink_check_ok
(
&
test_OnSetFocus
,
"OnSetFocus"
);
test_ACP_GetStatus
=
SINK_UNEXPECTED
;
ITfDocumentMgr_Release
(
dmorig
);
...
...
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