~tatokis/unity/gcc-72-errors

« back to all changes in this revision

Viewing changes to tests/test_application_launcher_icon.cpp

  • Committer: Bileto Bot
  • Author(s): Andrea Azzarone
  • Date: 2017-09-25 16:03:12 UTC
  • mfrom: (4253.1.2 unity)
  • Revision ID: ci-train-bot@canonical.com-20170925160312-xiq6cyfo28ax0vdi
Fix build issues with gcc-7 and g++-7

Approved by: Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1059
1059
  ON_CALL(*mock_icon, GetRemoteMenus()).WillByDefault(Invoke([&root] { return root; }));
1060
1060
 
1061
1061
  if (GetParam() != "Quit")
 
1062
  {
1062
1063
    ASSERT_FALSE(HasMenuItemWithLabel(mock_icon, GetParam()));
 
1064
  }
1063
1065
 
1064
1066
  item = GetMenuItemWithLabel(mock_icon, "Quit");
1065
1067
  ASSERT_NE(item, nullptr);