Reactos

[WINESYNC] wininet/tests: Fix some test failures on Windows.

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 8b2d3857136c50d56c706a7f880fc605b325e334 by Sven Baars <sven.wine@gmail.com>

authored by

winesync and committed by
Jérôme Gardou
d9efda82 4a3f32ff

+3 -21
+2 -20
modules/rostests/winetests/wininet/urlcache.c
··· 877 877 "", {0}, {0} 878 878 }, 879 879 { 880 - 0, {'C','o','o','k','i','e',':',' ','u','s','e','r','@','h','t','t','p', 881 - ':','/','/','t',0x15b,0x107,'.','o','r','g','/',0}, 882 - "Cookie: user@http://t\xc5\x9b\xc4\x87.org/", {0}, {0} 880 + 0, {'C','o','o','k','i','e',':',' ','u','s','e','r','@','t','e','s','t','.','o','r','g','/',0}, 881 + "Cookie: user@test.org/", {0}, {0} 883 882 } 884 883 }; 885 884 static const FILETIME filetime_zero; ··· 893 892 return; 894 893 } 895 894 896 - if(ie10_cache) { 897 - if(!MultiByteToWideChar(CP_ACP, 0, urls[6].encoded_url, -1, 898 - urls[6].url, ARRAY_SIZE(urls[6].url))) 899 - urls[6].url[0] = 0; 900 - 901 - trace("converted url in test 6: %s\n", wine_dbgstr_w(urls[6].url)); 902 - } 903 - 904 895 for(i=0; i<ARRAY_SIZE(urls); i++) { 905 896 INTERNET_CACHE_ENTRY_INFOA *entry_infoA; 906 897 INTERNET_CACHE_ENTRY_INFOW *entry_infoW; 907 898 DWORD size; 908 - 909 - if(!urls[i].url[0]) { 910 - win_skip("No UTF16 version of url (%d)\n", i); 911 - continue; 912 - } 913 899 914 900 SetLastError(0xdeadbeef); 915 901 ret = CreateUrlCacheEntryW(urls[i].url, 0, NULL, bufW, 0); ··· 937 923 ret = GetUrlCacheEntryInfoA(urls[i].encoded_url, NULL, &size); 938 924 ok(!ret && GetLastError()==ERROR_INSUFFICIENT_BUFFER, 939 925 "%d) GetLastError() = %d\n", i, GetLastError()); 940 - if(!ret && GetLastError()!=ERROR_INSUFFICIENT_BUFFER) { 941 - win_skip("ANSI version of url is incorrect\n"); 942 - continue; 943 - } 944 926 entry_infoA = HeapAlloc(GetProcessHeap(), 0, size); 945 927 ret = GetUrlCacheEntryInfoA(urls[i].encoded_url, entry_infoA, &size); 946 928 ok(ret, "%d) GetUrlCacheEntryInfoA failed: %d\n", i, GetLastError());
+1 -1
sdk/tools/winesync/wininet.cfg
··· 5 5 include/wininet.h: sdk/include/psdk/wininet.h 6 6 include/winineti.h: sdk/include/psdk/winineti.h 7 7 tags: 8 - wine: wine-4.18 8 + wine: 8b2d3857136c50d56c706a7f880fc605b325e334