| 160 | } |
| 161 | |
| 162 | void 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 | |
| 174 | TEST(ReadImageProperty, EquipMake) |
| 175 | { |
no test coverage detected