MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / TestIsIdlDirectory

Function TestIsIdlDirectory

Explorer++/TestHelper/TestShellHelper.cpp:62–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void TestIsIdlDirectory(const TCHAR *szFullFileName, BOOL bExpected)
63{
64 LPITEMIDLIST pidl = NULL;
65 HRESULT hr = GetIdlFromParsingName(szFullFileName, &pidl);
66 ASSERT_TRUE(SUCCEEDED(hr));
67
68 BOOL bRet = IsIdlDirectory(pidl);
69 EXPECT_EQ(bExpected, bRet);
70
71 CoTaskMemFree(pidl);
72}
73
74TEST(IsIdlDirectory, Directory)
75{

Callers 1

TESTFunction · 0.85

Calls 1

IsIdlDirectoryFunction · 0.85

Tested by

no test coverage detected