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
3a9a08cb
Commit
3a9a08cb
authored
Dec 18, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32/tests: We check for failure not success.
parent
fc5c89eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
imm32.c
dlls/imm32/tests/imm32.c
+4
-12
No files found.
dlls/imm32/tests/imm32.c
View file @
3a9a08cb
...
...
@@ -262,32 +262,24 @@ static void test_ImmSetCompositionString(void)
if
(
!
imc
)
return
;
SetLastError
(
0xdeadbeef
);
ret
=
ImmSetCompositionStringW
(
imc
,
SCS_SETSTR
,
NULL
,
0
,
NULL
,
0
);
todo_wine
ok
(
!
ret
,
"ImmSetCompositionStringW() failed. Last error: %u
\n
"
,
GetLastError
());
ok
(
!
ret
,
"ImmSetCompositionStringW() succeeded.
\n
"
);
SetLastError
(
0xdeadbeef
);
ret
=
ImmSetCompositionStringW
(
imc
,
SCS_SETSTR
|
SCS_CHANGEATTR
,
NULL
,
0
,
NULL
,
0
);
todo_wine
ok
(
!
ret
,
"ImmSetCompositionStringW() failed. Last error: %u
\n
"
,
GetLastError
());
ok
(
!
ret
,
"ImmSetCompositionStringW() succeeded.
\n
"
);
SetLastError
(
0xdeadbeef
);
ret
=
ImmSetCompositionStringW
(
imc
,
SCS_SETSTR
|
SCS_CHANGECLAUSE
,
NULL
,
0
,
NULL
,
0
);
todo_wine
ok
(
!
ret
,
"ImmSetCompositionStringW() failed. Last error: %u
\n
"
,
GetLastError
());
ok
(
!
ret
,
"ImmSetCompositionStringW() succeeded.
\n
"
);
SetLastError
(
0xdeadbeef
);
ret
=
ImmSetCompositionStringW
(
imc
,
SCS_CHANGEATTR
|
SCS_CHANGECLAUSE
,
NULL
,
0
,
NULL
,
0
);
todo_wine
ok
(
!
ret
,
"ImmSetCompositionStringW() failed. Last error: %u
\n
"
,
GetLastError
());
ok
(
!
ret
,
"ImmSetCompositionStringW() succeeded.
\n
"
);
ImmReleaseContext
(
hwnd
,
imc
);
}
...
...
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