diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2017-08-04 15:31:09 +0200 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2017-08-04 15:31:09 +0200 |
| commit | f2371a427b5ccf92d001ce4ffc6545266d4c02a2 (patch) | |
| tree | d2a90e59b9021a0bdc2f9d27651a7ccff9aafa48 /tests | |
| parent | 9380098be614afa22cacd8162be076035de7609f (diff) | |
Fix build issues with gcc7/g++7
(bzr r4253.1.1)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_application_launcher_icon.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_application_launcher_icon.cpp b/tests/test_application_launcher_icon.cpp index 6c1a77c7b..2d3c4e3de 100644 --- a/tests/test_application_launcher_icon.cpp +++ b/tests/test_application_launcher_icon.cpp @@ -1059,7 +1059,9 @@ TEST_P(/*TestApplicationLauncherIcon*/QuitLabel, QuicklistMenuItemRemoteOverride ON_CALL(*mock_icon, GetRemoteMenus()).WillByDefault(Invoke([&root] { return root; })); if (GetParam() != "Quit") + { ASSERT_FALSE(HasMenuItemWithLabel(mock_icon, GetParam())); + } item = GetMenuItemWithLabel(mock_icon, "Quit"); ASSERT_NE(item, nullptr); |
