setupapi: Remove a test of an undocumented function that is inconsistent across platforms.
This commit is contained in:
parent
9b96881163
commit
e05b1d0aab
|
@ -159,7 +159,7 @@ static void test_StringTableLookUpString(void)
|
||||||
|
|
||||||
static void test_StringTableStringFromId(void)
|
static void test_StringTableStringFromId(void)
|
||||||
{
|
{
|
||||||
WCHAR *string2, *string3;
|
WCHAR *string2;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
/* correct */
|
/* correct */
|
||||||
|
@ -168,13 +168,6 @@ static void test_StringTableStringFromId(void)
|
||||||
|
|
||||||
result=lstrcmpiW(string, string2);
|
result=lstrcmpiW(string, string2);
|
||||||
ok(result==0,"StringID %p does not match requested StringID %p\n",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)
|
START_TEST(stringtable)
|
||||||
|
|
Loading…
Reference in New Issue