Commit Graph

34 Commits

Author SHA1 Message Date
Hans Leidekker 165000d457 winhttp/tests: Avoid an invalid write in asynchronous mode (Valgrind).
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:10 +01:00
Michael Stefaniuc cd4fac89c4 winhttp/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-12 14:01:35 +02:00
Andrey Gusev 67e80856e6 winhttp/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 17:33:39 +01:00
Andrey Gusev 72052ca6c7 winhttp/tests: Fix typos in ok() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-22 16:59:27 +01:00
Jacek Caban fa2cc9868b winhttp/tests: Added persistent connection tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:32 +02:00
Jacek Caban 5226865c53 winhttp: Cache and reuse persistent HTTP connections.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:32 +02:00
Jacek Caban 4620bcf806 winhttp/tests: Make sure that all notifications were called before the end of a test.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-14 17:19:24 +02:00
Jacek Caban 8c9df5b774 winhttp: Use notification flags to explicitly mark notifications that should signal an event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-14 17:19:20 +02:00
Jacek Caban bbb2f363a0 winhttp/tests: Make notification tests more strict.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 11:45:26 +02:00
Jacek Caban fc33e982d7 winhttp/tests: Get rid of unneeded Sleep() call.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 10:47:05 +02:00
Hans Leidekker 29967d63bb winhttp/tests: Handle timeout errors.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-09-25 21:01:23 +02:00
Hans Leidekker 1def0982f1 winhttp: Always clear last error on success. 2015-08-03 20:50:33 +02:00
Huw Davies 1709635f29 winhttp: Implement WINHTTP_OPTION_UNLOAD_NOTIFY_EVENT. 2015-07-22 10:33:39 +02:00
Hans Leidekker 0d50168570 winhttp/tests: Handle more potential connection failures. 2014-12-09 13:16:24 +01:00
Hans Leidekker 25eb10058c winhttp/tests: Improve tracing. 2014-02-11 19:19:13 +01:00
Hans Leidekker 5b409fb0d4 winhttp/tests: Move the status notification tests to test.winehq.org. 2014-02-05 15:53:56 +01:00
Hans Leidekker 21ff413413 winhttp/tests: Only advance to the next notification test if the function is ok. 2014-01-29 14:50:49 +01:00
Hans Leidekker 513372f044 winhttp/tests: Ignore some missing notifications. 2014-01-29 14:50:48 +01:00
Frédéric Delanoy 4bb0d0eac9 winhttp/tests: Use BOOL type where appropriate. 2013-11-27 10:54:17 +01:00
Hans Leidekker ceeff119a2 winhttp/tests: Compile with -D__WINESRC__. 2013-10-14 17:26:15 +02:00
Hans Leidekker bee390e1ef winhttp/tests: Remove explicit zero-intialization of static data. 2013-09-23 11:56:29 +02:00
Hans Leidekker 4788c214e2 winhttp/tests: Fix test failures on Windows 8. 2012-12-19 14:38:58 +01:00
Heiko Hund 1ba968821a winhttp: Make strings in WINHTTP_PROXY_INFO non-const. 2012-07-19 16:01:18 +02:00
Hans Leidekker 7d8730f8c5 winhttp: Resolve the server name only on the first request. 2011-11-25 16:22:02 +01:00
Hans Leidekker 1549088da0 winhttp/tests: Test a return value (clang). 2011-01-27 16:31:49 +01:00
Greg Geldorp f213cdbc4e winhttp/tests: No reconnect on redirect when using proxy. 2011-01-20 14:21:28 +01:00
Hans Leidekker 33e522eec6 winhttp/tests: Wait for a handle closing notification.
Fixes a Valgrind warning.
2010-02-17 10:57:53 +01:00
Hans Leidekker 6cde75646a winhttp: Make tests pass on Win7. Conform to the more recent behavior. 2009-09-08 12:12:22 +02:00
Hans Leidekker ee1a4650fd winhttp: Skip notifications that may arrive out of order. 2008-09-29 17:25:47 -05:00
Hans Leidekker 3cfa9c626f winhttp: Better diagnostics in the notification test. 2008-09-10 10:40:05 +02:00
Hans Leidekker ddbe713e6b winhttp: Increase sleep between two tests that connect to the same host. 2008-09-10 10:40:01 +02:00
Hans Leidekker f3346a789e winhttp: Support asynchronous requests. 2008-09-08 12:47:21 +02:00
Hans Leidekker 3d8a9564cd winhttp: Start sending async completion notifications. Add corresponding tests. 2008-09-08 12:47:21 +02:00
Hans Leidekker 96bf72f27e winhttp: Add status notification tests. Make them pass. 2008-09-03 14:21:44 +02:00