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
b59c53fb
Commit
b59c53fb
authored
Aug 19, 2016
by
Colin Finck
Committed by
Alexandre Julliard
Aug 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Add a test for RpcBindingServerFromClient (todo_wine).
Signed-off-by:
Colin Finck
<
mail@colinfinck.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8c900c8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
server.c
dlls/rpcrt4/tests/server.c
+29
-0
No files found.
dlls/rpcrt4/tests/server.c
View file @
b59c53fb
...
...
@@ -744,6 +744,35 @@ void __cdecl s_context_handle_test(void)
pNDRSContextUnmarshall2
(
binding
,
buf
,
NDR_LOCAL_DATA_REPRESENTATION
,
&
server_if2
.
InterfaceId
,
0
);
}
binding
=
NULL
;
status
=
RpcBindingServerFromClient
(
NULL
,
&
binding
);
todo_wine
{
ok
(
status
==
RPC_S_OK
,
"expected RPC_S_OK got %u
\n
"
,
status
);
ok
(
binding
!=
NULL
,
"binding is NULL
\n
"
);
}
if
(
status
==
RPC_S_OK
&&
binding
!=
NULL
)
{
unsigned
char
*
string_binding
=
NULL
;
unsigned
char
*
computer_name
=
NULL
;
status
=
RpcBindingToStringBindingA
(
binding
,
&
string_binding
);
ok
(
status
==
RPC_S_OK
,
"expected RPC_S_OK got %u
\n
"
,
status
);
ok
(
string_binding
!=
NULL
,
"string_binding is NULL
\n
"
);
status
=
RpcStringBindingParseA
(
string_binding
,
NULL
,
NULL
,
&
computer_name
,
NULL
,
NULL
);
ok
(
status
==
RPC_S_OK
,
"expected RPC_S_OK got %u
\n
"
,
status
);
ok
(
computer_name
!=
NULL
,
"computer_name is NULL
\n
"
);
RpcStringFreeA
(
&
string_binding
);
RpcStringFreeA
(
&
computer_name
);
RpcBindingFree
(
&
binding
);
}
}
void
__cdecl
s_get_numbers
(
int
length
,
int
size
,
pints_t
n
[])
...
...
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