mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +00:00
[BROWSEUI_WINETEST]
sync browseui_winetest to wine 1.1.39 svn path=/trunk/; revision=45828
This commit is contained in:
parent
a3e5a3750d
commit
a9dc9cbcfb
1 changed files with 8 additions and 0 deletions
|
@ -219,6 +219,7 @@ IACListVtbl TestACL_ACListVtbl =
|
|||
ole_ok(obj->lpVtbl->Next(obj, 1, &wstr, &i)); \
|
||||
ok(i == 1, "Expected i == 1, got %d\n", i); \
|
||||
ok(str[0] == wstr[0], "String mismatch\n"); \
|
||||
CoTaskMemFree(wstr); \
|
||||
}
|
||||
|
||||
#define expect_end(obj) \
|
||||
|
@ -280,9 +281,13 @@ static void test_ACLMulti(void)
|
|||
|
||||
ole_ok(obj->lpVtbl->Next(obj, 15, wstrtab, &i));
|
||||
ok(i == 1, "Expected i == 1, got %d\n", i);
|
||||
CoTaskMemFree(wstrtab[0]);
|
||||
ole_ok(obj->lpVtbl->Next(obj, 15, wstrtab, &i));
|
||||
CoTaskMemFree(wstrtab[0]);
|
||||
ole_ok(obj->lpVtbl->Next(obj, 15, wstrtab, &i));
|
||||
CoTaskMemFree(wstrtab[0]);
|
||||
ole_ok(obj->lpVtbl->Next(obj, 15, wstrtab, &i));
|
||||
CoTaskMemFree(wstrtab[0]);
|
||||
ole_ok(acl->lpVtbl->Expand(acl, exp));
|
||||
ok(acl1->expcount == 2, "expcount - expected 1, got %d\n", acl1->expcount);
|
||||
ok(acl2->expcount == 0 /* XP */ || acl2->expcount == 2 /* Vista */,
|
||||
|
@ -316,6 +321,9 @@ static void test_ACLMulti(void)
|
|||
ok(mgr->lpVtbl->Release(mgr) == 0, "Unexpected references\n");
|
||||
ok(acl1->ref == 1, "acl1 not released\n");
|
||||
ok(acl2->ref == 1, "acl2 not released\n");
|
||||
|
||||
CoTaskMemFree(acl1);
|
||||
CoTaskMemFree(acl2);
|
||||
}
|
||||
|
||||
START_TEST(autocomplete)
|
||||
|
|
Loading…
Reference in a new issue