James Hawkins : setupapi: Remove a test of an undocumented function that is inconsistent across platforms .
Module: wine Branch: master Commit: e05b1d0aabada410fa009ad28f26b548424c2114 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e05b1d0aabada410fa009ad28f... Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Wed Sep 10 23:01:52 2008 -0500 setupapi: Remove a test of an undocumented function that is inconsistent across platforms. --- dlls/setupapi/tests/stringtable.c | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/dlls/setupapi/tests/stringtable.c b/dlls/setupapi/tests/stringtable.c index 1b8f2f4..6a07b18 100644 --- a/dlls/setupapi/tests/stringtable.c +++ b/dlls/setupapi/tests/stringtable.c @@ -159,7 +159,7 @@ static void test_StringTableLookUpString(void) static void test_StringTableStringFromId(void) { - WCHAR *string2, *string3; + WCHAR *string2; int result; /* correct */ @@ -168,13 +168,6 @@ static void test_StringTableStringFromId(void) result=lstrcmpiW(string, string2); ok(result==0,"StringID %p does not match requested StringID %p\n",string,string2); - - /* This should never work */ - string3=pStringTableStringFromId(table,0); - ok(string3!=NULL,"Failed to look up string by ID from String Table\n"); - - result=lstrcmpiW(string, string3); - ok(result!=0,"StringID %p matches requested StringID %p\n",string,string3); } START_TEST(stringtable)
participants (1)
-
Alexandre Julliard