Commit Graph

47 Commits

Author SHA1 Message Date
Piotr Caban 493d414cad wininet: Create file with correct file name in test_trailing_slash tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 11:53:25 +09:00
Piotr Caban 1a738a556c wininet: Improve handling of long URLs in CreateUrlCacheEntry function. 2015-06-19 17:02:24 +09:00
Gerald Pfeifer 4415171ab6 wininet: Avoid four instances of "logical not is only applied to the to the left hand side". 2015-04-17 17:33:45 +09:00
Jacek Caban 2aaff6e19f wininet: Include trailing slash in URL cache hashes. 2014-07-16 14:01:05 +02:00
Bruno Jesus 1f713cc567 wininet/tests: Fix a memory leak (valgrind). 2014-06-11 16:11:04 +02:00
André Hentschel f34ba03277 wininet/tests: Fix boolean checks. 2013-11-26 10:17:31 +01:00
Piotr Caban 69b8c97c1d wininet/tests: Fix urlcache tests on IE10. 2013-11-18 11:20:30 +01:00
Jacek Caban e857a70ae2 wininet: Compile tests with -D__WINESRC__. 2013-10-24 19:01:55 +02:00
Piotr Caban b0ef7b401c wininet: Skip some urlcache Unicode tests if ANSI version of URL is not known. 2013-04-08 19:49:07 +02:00
Piotr Caban f08246c25f wininet: Added urlcache Unicode functions tests. 2013-04-01 19:28:59 +02:00
Piotr Caban 8e6d2bab37 wininet: Fixed failing test. 2012-10-03 13:14:29 +02:00
Piotr Caban 306f53cbf2 wininet: Added more GetUrlCacheEntryInfo tests with GET_INSTALLED_ENTRY flag. 2012-09-25 21:13:08 +02:00
Piotr Caban 71511c9fc5 wininet: Added tests for entries with identical hash key. 2012-09-24 22:27:28 +02:00
Piotr Caban 95a4f3dd6d wininet/tests: Remove all temporary files. 2012-09-18 14:51:29 +02:00
Piotr Caban 65034ce2a4 wininet: Set entry type based on container type. 2012-09-18 14:51:21 +02:00
Piotr Caban 8f2b0fdf52 wininet: Added support for cache entries overwriting. 2012-09-18 14:51:05 +02:00
Piotr Caban 359ed33824 wininet: Delete file when cache entry is deleted. 2012-09-18 14:50:54 +02:00
Piotr Caban 7967f8beec wininet: Don't define DELETED_CACHE_ENTRY in public headers. 2012-09-18 14:50:49 +02:00
Morten Rønne 4b3e4fa87b wininet/tests: Moved a test outside a loop to make numbers of tests run independent on the numbers of entries in the cache. 2012-04-09 18:10:32 +02:00
Piotr Caban d1ecb6d9ba wininet: Don't delete locked entry in DeleteUrlCacheEntry. 2012-04-06 20:12:40 +02:00
Morten Rønne e0f93874c8 wininet/tests: Added more tests for urlcache, including a new flag in CacheEntryType. 2012-04-05 17:53:14 +02:00
Morten Rønne fb81502a50 wininet/tests: Fixed text errors in tests. 2012-04-05 17:53:14 +02:00
Alexandre Julliard 905d6844e3 wininet/tests: Avoid crash on test failure. 2011-09-09 15:57:59 +02:00
Austin English 2a16ae1d06 wininet: Make sure to use return values (LLVM/Clang). 2011-07-26 10:21:44 +02:00
Francois Gouget 4abe4cf1b1 wininet/tests: Fix compilation on systems that don't support nameless unions. 2011-03-18 11:28:45 +01:00
Juan Lang 819eb52866 wininet: Reimplement IsUrlCacheEntryExpired. 2011-03-11 11:41:55 +01:00
Juan Lang 190acb9e26 wininet: Implement sticky url cache entries. 2011-03-10 14:27:35 +01:00
Juan Lang f7340864b9 wininet: Test sticky url cache entries. 2011-03-10 14:25:12 +01:00
Juan Lang 6617c19c4b wininet: Treat times of 0 as a special value. 2011-03-10 14:25:06 +01:00
Juan Lang 9a45cfc527 wininet: Add more tests for CommitUrlCacheEntry. 2011-03-10 14:24:27 +01:00
Juan Lang c485996e5e wininet/tests: Add a couple more tests for GetUrlCacheEntryInfoEx. 2011-03-09 12:48:33 +01:00
Jacek Caban fa5839399f wininet: Skip more tests on IE older than 6.0. 2010-10-19 13:47:58 +02:00
Hans Leidekker 09f1ace555 wininet: Add some URL cache tests and make them pass. 2009-09-25 14:39:35 +02:00
Hans Leidekker d590a20f6d wininet: Consistently set last error before testing it. 2009-09-25 14:39:28 +02:00
Detlef Riekenberg c4e6018320 wininet/tests: Remove a duplicate test. 2009-05-18 12:34:39 +02:00
Paul Vriens 82f22bbaee wininet/tests: Fix some test failures on systems with IE6 or older. 2009-05-14 11:13:06 +02:00
Hans Leidekker 7ddec087f0 wininet: Implement GetDiskInfoA. 2009-05-13 14:47:56 +02:00
Paul Vriens eba92bd7ee wininet/tests: Don't crash on W2K and below. 2008-10-09 12:14:37 +02:00
Rob Shearman 0c75ead3e8 wininet: Validate parameters passed to RetrieveUrlCacheEntryInfoA/W.
Add tests for this.
2008-10-08 12:16:59 +02:00
Rob Shearman ab849ee297 wininet: Fix GetUrlCacheEntryInfoA/W when a NULL lpCacheEntryInfo parameter is passed in. 2008-10-06 13:07:43 +02:00
Francois Gouget 089221fcce wininet/tests: Get the tests running again on Win98. 2008-05-22 11:43:18 +02:00
Lei Zhang 255eebe44d wininet: Handle NULL input for FindCloseUrlCache. 2008-05-08 22:48:30 +02:00
Rob Shearman 64806e642f wininet: Add tests for GetUrlCacheEntryInfoExA.
Factorise out bits of the other tests so that the code is cleaner and 
can be re-used.
2008-04-30 17:00:06 +02:00
Rob Shearman 716ecc42f9 wininet: Support the lpszFileExtension "reserved" parameter being passed into CommitUrlCacheEntryA.
Store it in the URL cache entry and allow it to be retrieved by 
RetrieveUrlCacheEntryFile and other functions.
2008-03-12 17:58:37 +01:00
Rob Shearman cdd135c2f3 wininet: Fix URLCache_LocalFileNameToPathA to return a full path, rather than just the container path.
This was caused by path_len including the nul-terminator and so the rest 
of the string was being added after the nul-terminator, which is 
incorrect. This is fixed by making path_len not include the nul-terminator.

Also fix a few other issues with the function, like not passing a 
correct length into the second call to WideCharToMultiByte, nRequired 
being calculated incorrectly and the string not always being nul-terminated.

Add a test for this function by testing the lpszLocalFileName field 
obtained from RetrieveUrlCacheEntryFileA.
2008-03-12 17:58:20 +01:00
Rob Shearman 4041c2015b wininet: Add tests for Find{First,Next}UrlCacheEntryA functions. 2008-03-12 17:57:56 +01:00
Rob Shearman 99e7f7ab6e wininet: Add tests for some URL cache functions. 2008-03-12 17:55:41 +01:00