From fe936b31301b32df96226ca47873b8d9676825f3 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 13 Oct 2015 16:21:52 -0500 Subject: rather than commenting out a test, use Google Test's DISABLED_ feature to disable it --- tests/test-snap.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') 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(); auto ne = std::make_shared(APP_NAME); @@ -582,4 +581,3 @@ TEST_F(SnapFixture,Vibrate) EXPECT_EQ(test_case.expected_vibrate_called, vibrate_called); } } -#endif -- cgit v1.2.3