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

Function GetTestResourceFilePath

Explorer++/TestHelper/Helper.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void GetTestResourceFilePath(const TCHAR *szFile, TCHAR *szOutput, size_t cchMax)
40{
41 TCHAR szFullFileName[MAX_PATH];
42 GetTestResourceDirectory(szFullFileName, SIZEOF_ARRAY(szFullFileName));
43
44 BOOL bRet = PathAppend(szFullFileName, szFile);
45 ASSERT_EQ(TRUE, bRet);
46
47 HRESULT hr = StringCchCopy(szOutput, cchMax, szFullFileName);
48 ASSERT_TRUE(SUCCEEDED(hr));
49}
50
51void GetTestResourceFileIdl(const TCHAR *szFile, LPITEMIDLIST *pidl)
52{

Callers 9

TestCalculateFolderSizeFunction · 0.85
TESTFunction · 0.85
GetTestResourceFileIdlFunction · 0.85
TestGetFileLanguageFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
TestReadImagePropertyFunction · 0.85
TestCompareFileTypesFunction · 0.85

Calls 1

GetTestResourceDirectoryFunction · 0.85

Tested by 8

TestCalculateFolderSizeFunction · 0.68
TESTFunction · 0.68
TestGetFileLanguageFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TestReadImagePropertyFunction · 0.68
TestCompareFileTypesFunction · 0.68