diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-10-13 16:21:52 -0500 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 14:27:02 +0200 |
commit | cbb76bdf650b13aaa2ade1a989069bbbf5ddf478 (patch) | |
tree | 8ee22b93e3b7f45dd923cf7c3164b4ea26551505 /tests | |
parent | 874a4c05896a9a217db0a6e3527ef4c06f1482a6 (diff) | |
download | ayatana-indicator-datetime-cbb76bdf650b13aaa2ade1a989069bbbf5ddf478.tar.gz ayatana-indicator-datetime-cbb76bdf650b13aaa2ade1a989069bbbf5ddf478.tar.bz2 ayatana-indicator-datetime-cbb76bdf650b13aaa2ade1a989069bbbf5ddf478.zip |
rather than commenting out a test, use Google Test's DISABLED_ feature to disable it
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-snap.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-snap.cpp b/tests/test-snap.cpp index 70e283a..99d8a1c 100644 --- a/tests/test-snap.cpp +++ b/tests/test-snap.cpp @@ -534,8 +534,7 @@ TEST_F(SnapFixture, ForceScreen) **** ***/ -#if 0 -TEST_F(SnapFixture,Vibrate) +TEST_F(SnapFixture,DISABLED_Vibrate) { auto settings = std::make_shared<Settings>(); auto ne = std::make_shared<ayatana::indicator::notifications::Engine>(APP_NAME); @@ -582,4 +581,3 @@ TEST_F(SnapFixture,Vibrate) EXPECT_EQ(test_case.expected_vibrate_called, vibrate_called); } } -#endif |