| 54 | }; |
| 55 | |
| 56 | TEST_F(PropertySystemTest, GetDisplayNames) |
| 57 | { |
| 58 | { |
| 59 | PropertySystem ps({ _T("System.Image.Dimensions"), _T("System.Image.HorizontalSize") }); |
| 60 | std::vector<String> names; |
| 61 | ASSERT_TRUE(ps.GetDisplayNames(names)); |
| 62 | ASSERT_STREQ(_T("Dimensions"), names[0].c_str()); |
| 63 | ASSERT_STREQ(_T("Width"), names[1].c_str()); |
| 64 | } |
| 65 | |
| 66 | { |
| 67 | PropertySystem ps2(PropertySystem::VIEWABLE); |
| 68 | std::vector<String> names2; |
| 69 | ASSERT_TRUE(ps2.GetDisplayNames(names2)); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | TEST_F(PropertySystemTest, GetFormattedValues) |
| 74 | { |
nothing calls this directly
no test coverage detected