aboutsummaryrefslogtreecommitdiff
path: root/tests/test-snap.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-10-13 16:21:52 -0500
committerRobert Tari <robert@tari.in>2021-06-30 00:57:59 +0200
commitfe936b31301b32df96226ca47873b8d9676825f3 (patch)
tree341eaa4392f49525f4387686b54ccc073613eea7 /tests/test-snap.cpp
parentee2b0be95170d0dc27b7d847293634a28a43c97a (diff)
downloadayatana-indicator-datetime-fe936b31301b32df96226ca47873b8d9676825f3.tar.gz
ayatana-indicator-datetime-fe936b31301b32df96226ca47873b8d9676825f3.tar.bz2
ayatana-indicator-datetime-fe936b31301b32df96226ca47873b8d9676825f3.zip
rather than commenting out a test, use Google Test's DISABLED_ feature to disable it
Diffstat (limited to 'tests/test-snap.cpp')
-rw-r--r--tests/test-snap.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-snap.cpp b/tests/test-snap.cpp
index 96d8a80..5041645 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