MCPcopy Create free account
hub / github.com/WinMerge/winmerge / TEST_F

Function TEST_F

Testing/GoogleTest/PropertySystem/PropertySystem_test.cpp:56–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 6

GetLongPathFunction · 0.85
ConcatPathFunction · 0.85
GetProgPathFunction · 0.85
GetDisplayNamesMethod · 0.80
GetPropertyValuesMethod · 0.80
FormatPropertyValueMethod · 0.80

Tested by

no test coverage detected