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
2487afa5
Commit
2487afa5
authored
Nov 19, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Use proper wrappers for IObjContext methods.
parent
f7fdaf1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
compobj.c
dlls/ole32/tests/compobj.c
+5
-5
No files found.
dlls/ole32/tests/compobj.c
View file @
2487afa5
...
@@ -1910,10 +1910,10 @@ static void test_CoGetContextToken(void)
...
@@ -1910,10 +1910,10 @@ static void test_CoGetContextToken(void)
ok
(
hr
==
S_OK
,
"Expected S_OK, got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
ctx
==
(
IObjContext
*
)
token
,
"Expected interface pointers to be the same
\n
"
);
todo_wine
ok
(
ctx
==
(
IObjContext
*
)
token
,
"Expected interface pointers to be the same
\n
"
);
refs
=
I
Unknown_AddRef
((
IUnknown
*
)
ctx
);
refs
=
I
ObjContext_AddRef
(
ctx
);
todo_wine
ok
(
refs
==
3
,
"Expected 3, got %u
\n
"
,
refs
);
todo_wine
ok
(
refs
==
3
,
"Expected 3, got %u
\n
"
,
refs
);
refs
=
I
Unknown_Release
((
IUnknown
*
)
ctx
);
refs
=
I
ObjContext_Release
(
ctx
);
todo_wine
ok
(
refs
==
2
,
"Expected 2, got %u
\n
"
,
refs
);
todo_wine
ok
(
refs
==
2
,
"Expected 2, got %u
\n
"
,
refs
);
refs
=
IUnknown_Release
((
IUnknown
*
)
token
);
refs
=
IUnknown_Release
((
IUnknown
*
)
token
);
...
@@ -1926,13 +1926,13 @@ static void test_CoGetContextToken(void)
...
@@ -1926,13 +1926,13 @@ static void test_CoGetContextToken(void)
ok
(
token
,
"Expected token != 0
\n
"
);
ok
(
token
,
"Expected token != 0
\n
"
);
todo_wine
ok
(
ctx
==
(
IObjContext
*
)
token
,
"Expected interface pointers to be the same
\n
"
);
todo_wine
ok
(
ctx
==
(
IObjContext
*
)
token
,
"Expected interface pointers to be the same
\n
"
);
refs
=
I
Unknown_AddRef
((
IUnknown
*
)
ctx
);
refs
=
I
ObjContext_AddRef
(
ctx
);
ok
(
refs
==
2
,
"Expected 1, got %u
\n
"
,
refs
);
ok
(
refs
==
2
,
"Expected 1, got %u
\n
"
,
refs
);
refs
=
I
Unknown_Release
((
IUnknown
*
)
ctx
);
refs
=
I
ObjContext_Release
(
ctx
);
ok
(
refs
==
1
,
"Expected 0, got %u
\n
"
,
refs
);
ok
(
refs
==
1
,
"Expected 0, got %u
\n
"
,
refs
);
refs
=
I
Unknown_Release
((
IUnknown
*
)
ctx
);
refs
=
I
ObjContext_Release
(
ctx
);
ok
(
refs
==
0
,
"Expected 0, got %u
\n
"
,
refs
);
ok
(
refs
==
0
,
"Expected 0, got %u
\n
"
,
refs
);
CoUninitialize
();
CoUninitialize
();
...
...
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