James Hawkins : setupapi: Remove a test of an undocumented function that is inconsistent across platforms .
Alexandre Julliard
julliard at winehq.org
Thu Sep 11 08:00:38 CDT 2008
Module: wine
Branch: master
Commit: e05b1d0aabada410fa009ad28f26b548424c2114
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e05b1d0aabada410fa009ad28f26b548424c2114
Author: James Hawkins <jhawkins at 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)
More information about the wine-cvs
mailing list