Michael Stefaniuc
d452c7574f
rpcrt4: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Dmitry Timoshkov
59c0dbb642
rpcrt4/tests: Add some tests for marshalling embedded conformant arrays.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-08 21:01:32 +02:00
Dmitry Timoshkov
bd995ea871
rpcrt4/tests: Fix compilation with MS VC.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-08 21:01:32 +02:00
Francois Gouget
a909baeb4e
tests: Report all errors when failing to wait for a child process.
...
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Zebediah Figura
c2b4d98f23
rpcrt4/tests: Pass the default maximum call limit to RpcServerListen().
...
The tests intermittently crash on 2008 with RPC_S_SERVER_TOO_BUSY. I suspect
this is due to the server spawned in run_server having a call limit of 20 but
being expected to service 32 threads. Use the default parameter in an attempt
to prevent this failure.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-15 22:03:36 +01:00
Alexandre Julliard
822e2773d4
rpcrt4/tests: Increase some timeouts.
...
These are too short when running under QEMU.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 00:33:46 +01:00
Jacek Caban
994976dcb3
rpcrt4/tests: Avoid type redefinition.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46680
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:59 +01:00
Jacek Caban
83b9438029
widl: Fix handling context handle return type in mixed mode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-30 18:32:36 +01:00
Jacek Caban
78d75e4a22
rpcrt4/tests: Add context handle marshaling tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban
f634a84fda
rpcrt4/tests: Use --prefix-client to avoid duplicated function implementations.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 16:25:58 +01:00
Jacek Caban
d73a6bae08
rpcrt4/tests: Run RPC tests in both mixed and fully interpreted mode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 17:42:44 +01:00
Francois Gouget
83d1f1a3be
rpcrt4/tests: Make create_server_process() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-10 10:05:53 +01:00
Jacek Caban
cae3d28a9b
rpcrt4/tests: Add a test of client reconnecting on send failure.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 17:33:42 +02:00
Zebediah Figura
935eed8e98
rpcrt4/tests: Add some tests for nesting arrays and pointers.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:28:39 +02:00
Michael Stefaniuc
cc906096c3
rpcrt4/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Zebediah Figura
950b349885
rpcrt4: RpcServerUnregisterIf() with NULL ifspec shouldn't unregister auto-listen interfaces.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-07 12:03:03 +02:00
Zebediah Figura
9d6d2eb3ce
rpcrt4/tests: Add a basic test for RPC_IF_AUTOLISTEN.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-07 12:03:00 +02:00
Zebediah Figura
e41209f228
rpcrt4: Dereference interface pointers in union arms.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-12 13:20:36 +02:00
Alistair Leslie-Hughes
a5767fc1f3
rpcrt4/tests: Use standard wine_dbgstr_longlong.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-27 10:46:58 +02:00
Jacek Caban
18fb5d25f1
rpcrt4/tests: Added more server stopping tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 21:33:40 +02:00
Nikolay Sivov
dcdf7d6f6d
rpcrt4/tests: Added missing assignment (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:11:19 +02:00
Jacek Caban
9a6781f8c9
rpcrt4/tests: Added more server listening tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 15:03:57 +01:00
Jacek Caban
d0ed6d1035
rpcrt4: Get rid of manual_listen_count and use binary state instead.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 15:03:54 +01:00
Hans Leidekker
b621973c47
rpcrt4/tests: Also register a firewall exception for the rpc test.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-08 13:53:09 +01:00
Hans Leidekker
462d348e8d
rpcrt4/tests: Register an exception with the firewall to avoid a dialog.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-06 15:02:35 +01:00
Hans Leidekker
f8450fae23
rpcrt4: Handle NULL binding in RpcBindingInqAuthClient{,Ex}.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:31:52 +01:00
Christoph von Wittich
01290cdc1f
rpcrt4: Implement RpcBindingServerFromClient and populate NetworkAddr for each transport.
...
Add more thorough testing for this function.
Signed-off-by: Colin Finck <mail@colinfinck.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 09:44:01 -07:00
Huw Davies
f53c320f04
rpcrt4/tests: Win 8 and 10 do not correctly unmarshal a ranged enum16.
...
In practice this bug is not observed since midl, unlike widl, does not
generate ranges in inline stub mode. For interpreted stubs, where
midl does generate ranges, the [out] parameters are zero-initialised
by the runtime.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 00:34:25 +09:00
Jacek Caban
ffe01b33f1
rpcrt4/tests: Don't load GetUserNameEx dynamically.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-30 11:43:22 +09:00
Colin Finck
b59c53fbff
rpcrt4: Add a test for RpcBindingServerFromClient (todo_wine).
...
Signed-off-by: Colin Finck <mail@colinfinck.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:47:18 +09:00
Jacek Caban
f3f07bdf35
rpcrt4: Added RpcMgmtIsServerListening tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:02 +09:00
Dmitry Timoshkov
05aab53f38
rpcrt4/tests: Add a couple of tests for marshalling an array of strings.
2014-04-02 15:46:51 +02:00
Jacek Caban
06246aff90
rpcrt4: Compile tests with -D__WINESRC__.
2013-11-08 16:29:43 +01:00
Alexandre Julliard
cb5beede16
rpcrt4/tests: Add more tests for integer ranges to show that ranges are independent.
...
Reported by Jérôme Gardou.
2011-09-19 13:17:41 +02:00
Alexandre Julliard
9d9f6da7da
rpcrt4/tests: Fix a test failure on 64-bit platforms.
2011-07-28 11:25:08 +02:00
Alexandre Julliard
9d4e79e382
rpcrt4/tests: Add a test about unmarshalling of an out-only structure.
2011-07-27 11:51:24 +02:00
Alexandre Julliard
717bd66440
widl: Default to the cdecl calling convention in client/server functions.
2011-06-13 11:53:28 +02:00
Alexandre Julliard
3c5688a80d
rpcrt4/tests: Add a few more marshalling tests.
2011-06-09 13:19:08 +02:00
Huw Davies
5102d4df8c
rpcrt4/tests: Add a test for marshalling a pointer to a user type, where the user type is itself a pointer.
2011-02-04 15:25:33 +01:00
Rob Shearman
1ff4bfe69a
rpcrt4: Add test for [out] non-conformant array.
2010-03-23 17:27:13 +01:00
Rob Shearman
f6c4c49f86
rpcrt4: Add tests for a complex array of pointers.
2010-03-19 16:25:48 +01:00
Paul Vriens
876c3c352b
rpcrt4/tests: Skip more tests on Win9x/WinMe.
2009-12-16 12:42:40 +01:00
Paul Vriens
4d1fa5833e
rpcrt4/tests: Don't crash on NT4.
2009-12-16 12:42:39 +01:00
Hans Leidekker
d95e58ba4d
rpcrt4: Avoid test failures on win9x.
2009-12-15 11:45:00 +01:00
Hans Leidekker
fddabccaa1
rpcrt4: Add tests for RPC calls with authentication.
2009-12-14 16:14:37 +01:00
Alexandre Julliard
e48f4253a4
rpcrt4/tests: Skip the get_ranged_enum test on old Windows versions.
2009-12-04 14:34:58 +01:00
Rob Shearman
af271255f5
rpcrt4: Add tests for full pointers.
2009-11-18 15:15:21 +01:00
Rob Shearman
efda021c5d
Revert "rpcrt4: The get_ranged_enum test doesn't work on Windows, so don't execute it for the moment.".
...
This reverts commit 81036cc51831db03f8e0eb03b5f74ae5099461cd.
2009-11-12 14:18:27 +01:00
Rob Shearman
7e52896b84
rpcrt4: The get_ranged_enum test doesn't work on Windows, so don't execute it for the moment.
2009-11-11 10:56:09 +01:00
Rob Shearman
97d5f3401d
widl: Add support for varargs functions.
2009-11-09 20:42:27 +01:00