Commit Graph

684 Commits

Author SHA1 Message Date
Sebastian Lackner 9c19b2e225 urlmon/tests: Add test for opening cache file with DELETE access.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-27 13:05:46 +01:00
Nikolay Sivov f8bf719482 urlmon/tests: Release correct uri object (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-20 15:34:01 +01:00
Nikolay Sivov f19fdad2ba urlmon/tests: Fix some leaks (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-20 15:34:01 +01:00
Nikolay Sivov 5cf1fa355f urlmon/tests: Add IsEqual test for custom IUri implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:08 +02:00
Michael Stefaniuc 1281a687c8 urlmon/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:53:06 +02:00
Jacek Caban d3a9af15d2 urlmon/tests: Added more ref counting and aggregation tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:32 +02:00
Jacek Caban 749dbd81b1 urlmon/tests: Use the same thread for both connections in redirect tests.
Fixes a race spotted by Zebediah Figura.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:26 +02:00
Jacek Caban df976fd57a urlmon/tests: Handle ERROR_INTERNET_INVALID_CA security problem in https tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:17 +02:00
Jacek Caban fd2fb4a7a5 urlmon/tests: Added more protocol COM aggregation tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban 097811f251 urlmon: Use COM aggregation for urlmon protocols in BindProtocol::StartEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban 17574518d6 urlmon: Added support for COM aggregation to mk protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 44a9940256 urlmon: Added support for COM aggregation to ftp protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 8eeac66052 urlmon: Added support for COM aggregation to http protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 74989b6e41 urlmon: Added support for COM aggregation of file protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 114b070543 urlmon: Release protocol handler in BindProtocol::Terminate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Alexandre Julliard 674f1337e4 urlmon/tests: Update the IP address for the WineHQ server.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 21:32:39 +02:00
Jacek Caban 216ad43f18 urlmon: Use HttpQueryInfoA in IWinInetHttpInfo::QueryInfo implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 20:18:31 +01:00
Zhiyi Zhang ac066d3eee urlmon: Do not canonicalize Unicode characters.
Signed-off-by: Zhiyi Zhang <yi.gd.cn@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 16:25:10 +01:00
Zebediah Figura 8d773e2c83 urlmon/tests: Fix a couple of allocations.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 19:38:30 +01:00
Michael Stefaniuc 6ec880993b urlmon/tests: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 15:13:51 +01:00
Nikolay Sivov 45afe83256 urlmon/tests: Add some more PARSE_PATH_FROM_URL tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 18:44:01 +01:00
Jacek Caban 05826d5a68 urlmon/tests: Added IBindStatusCallback marshaling tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-14 09:24:18 +01:00
Jacek Caban 86f7c4c8f8 urlmon/tests: Added BindProtocol redirection handling tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 16:36:21 +02:00
Jacek Caban 09b78c21e5 urlmon/tests: Added test of hanling BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS by http protocol provider.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 21:22:34 +02:00
Jacek Caban 2e05a814ff urlmon/tests: Get rid of debug leftovers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 15:46:59 +02:00
Francois Gouget 9c4ac7fd9c urlmon: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
And standardize its parameter name.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-21 13:57:35 +01:00
Huw Davies 7453c835e9 urlmon/tests: Allow QueryInterface to accept IUnknown and IInternetProtocolSink.
Fixes a crash on modern versions of Windows 10.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 16:57:29 +01:00
Jacek Caban 32671b1d2f urlmon: Added Seek implementations for streams using cache file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 15:51:30 +01:00
Huw Davies df6143325a urlmon/tests: Windows 10 has changed the behaviour of domain detection.
The changes seem to be for the better, so the new values are not marked as broken.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:27:38 +01:00
Hans Leidekker 3a8801b1cc urlmon/tests: Skip domain tests if the user doesn't have admin rights.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 14:11:29 +01:00
Daniel Lehman 22b4599b8a urlmon: Fix buffer overflow in parse_canonicalize.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:21:59 -06:00
Jacek Caban 8e40577a1a urlmon/tests: Removed invalid test.
It's a race.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-07 16:59:47 +01:00
André Hentschel b19e99397f urlmon/tests: Mark data53 test as broken on Win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-21 21:17:17 +09:00
Michael Stefaniuc 0b49495b8e urlmon/tests: Make use of todo_wine_if().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 16:50:54 -05:00
Andrew Eikum a4a8693e89 urlmon: Allow NULL IBindStatusCallback in UrlOpenStream.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:09:52 +09:00
Andrew Eikum 4ac74d1083 urlmon: Allow NULL IBindStatusCallback in URLOpenBlockingStream.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:09:50 +09:00
Andrey Gusev 805092f8f6 urlmon/tests: Fix a typo in ok() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:31:14 +09:00
Francois Gouget 9cd5784104 urlmon/tests: Fix a spelling error in a uri comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:34 +09:00
André Hentschel 8b064d69e1 urlmon/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:09 +09:00
Jacek Caban 43a64e38f7 urlmon/tests: Use todo_wine_if in uri.c tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 23:50:12 +09:00
Andrey Gusev 8bfc9bd2ee Assorted typos fixes.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 15:38:30 +09:00
Alexandre Julliard 27ea7102dc urlmon/tests: Use the same file as wininet for FTP testing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:41 +09:00
Nikolay Sivov c0308873b9 urlmon/tests: Fixed a couple of test failure on Win10. 2015-09-25 21:00:44 +02:00
Jacek Caban ab3744d275 urlmon/tests: Skip https tests on platforms that don't support them.
Based on patch by Huw Davies.
2015-06-22 19:16:49 +09:00
Jacek Caban 16274e78b6 urlmon: Correctly handle hash part in file protocol handler. 2015-05-20 17:26:52 +09:00
Francois Gouget 847a391349 urlmon/tests: Silence some protocol traces that generate too many lines. 2015-05-11 15:19:04 +09:00
Francois Gouget 16960a425f urlmon: Remove unneeded NONAMELESSXXX directives.
Also put them in the files that need them.
2015-03-27 00:12:23 +09:00
Jacek Caban 168e915c91 urlmon: Added IInternetBindInfo implementation to BindStatusCallback object. 2015-02-26 20:09:03 +09:00
Jacek Caban 9351e225bb urlmon: Skip query and hash part in find_mime_from_url. 2014-12-23 15:29:11 +01:00
Jacek Caban 299a48075d urlmon: Store URLs as const char* in mime_tests. 2014-12-22 19:18:33 +01:00