~sethj/ubuntu/wily/unity/fix-for-1445595

« back to all changes in this revision

Viewing changes to tests/test_launcher_hover_machine.cpp

  • Committer: Stephen M. Webb
  • Date: 2015-03-13 13:49:16 UTC
  • mto: This revision was merged to the branch mainline in revision 3934.
  • Revision ID: stephen.webb@canonical.com-20150313134916-zacm7i4kbvzs4oxt
work around new GCC 5 warnings in GTest code

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  unity::LauncherHoverMachine::KEY_NAV_ACTIVE,
33
33
  unity::LauncherHoverMachine::LAUNCHER_IN_ACTION };
34
34
 
 
35
#pragma GCC diagnostic push
 
36
#pragma GCC diagnostic ignored "-Wunused-variable"
 
37
 
35
38
struct SingleQuirk : public TestWithParam<std::tuple<unity::LauncherHoverMachine::HoverQuirk, bool, bool>> {
36
39
  unity::LauncherHoverMachine machine;
37
40
};
113
116
    Combine(ValuesIn(QUIRKS), Bool(), Bool(), ValuesIn(QUIRKS), Bool(), Bool()));
114
117
 
115
118
}
 
119
 
 
120
#pragma GCC diagnostic pop