Cleanup the shlfolder test a bit more.
This commit is contained in:
parent
0ce74f54fe
commit
b98a26853c
|
@ -447,7 +447,7 @@ static void test_SHGetPathFromIDList(void)
|
||||||
ILFree(pidlMyComputer);
|
ILFree(pidlMyComputer);
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(shlfolder)
|
static void test_EnumObjects_and_CompareIDs(void)
|
||||||
{
|
{
|
||||||
ITEMIDLIST *newPIDL;
|
ITEMIDLIST *newPIDL;
|
||||||
IShellFolder *IDesktopFolder, *testIShellFolder;
|
IShellFolder *IDesktopFolder, *testIShellFolder;
|
||||||
|
@ -479,10 +479,6 @@ START_TEST(shlfolder)
|
||||||
ok(hr == S_OK, "BindToObject failed %08lx\n", hr);
|
ok(hr == S_OK, "BindToObject failed %08lx\n", hr);
|
||||||
|
|
||||||
test_EnumObjects(testIShellFolder);
|
test_EnumObjects(testIShellFolder);
|
||||||
test_BindToObject();
|
|
||||||
test_GetDisplayName();
|
|
||||||
test_GetAttributesOf();
|
|
||||||
test_SHGetPathFromIDList();
|
|
||||||
|
|
||||||
hr = IShellFolder_Release(testIShellFolder);
|
hr = IShellFolder_Release(testIShellFolder);
|
||||||
ok(hr == S_OK, "IShellFolder_Release failed %08lx\n", hr);
|
ok(hr == S_OK, "IShellFolder_Release failed %08lx\n", hr);
|
||||||
|
@ -491,3 +487,12 @@ START_TEST(shlfolder)
|
||||||
|
|
||||||
Cleanup();
|
Cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
START_TEST(shlfolder)
|
||||||
|
{
|
||||||
|
test_EnumObjects_and_CompareIDs();
|
||||||
|
test_BindToObject();
|
||||||
|
test_GetDisplayName();
|
||||||
|
test_GetAttributesOf();
|
||||||
|
test_SHGetPathFromIDList();
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue