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

Function TestReadImageProperty

Explorer++/TestHelper/TestHelper.cpp:162–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void TestReadImageProperty(const TCHAR *szFile, PROPID propId, const TCHAR *szPropertyExpected)
163{
164 TCHAR szFullFileName[MAX_PATH];
165 GetTestResourceFilePath(szFile, szFullFileName, SIZEOF_ARRAY(szFullFileName));
166
167 TCHAR szProperty[512];
168 BOOL bRes = ReadImageProperty(szFullFileName, propId, szProperty, SIZEOF_ARRAY(szProperty));
169 ASSERT_EQ(TRUE, bRes);
170
171 EXPECT_STREQ(szPropertyExpected, szProperty);
172}
173
174TEST(ReadImageProperty, EquipMake)
175{

Callers 1

TESTFunction · 0.85

Calls 2

GetTestResourceFilePathFunction · 0.85
ReadImagePropertyFunction · 0.85

Tested by

no test coverage detected