From d9e7fa14600527111719680dec8719084d9621ce Mon Sep 17 00:00:00 2001 From: Parvathi Date: Fri, 15 Nov 2024 17:05:39 +0530 Subject: [PATCH] editing --- Tests/unittest/test_connectivity.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Tests/unittest/test_connectivity.cpp b/Tests/unittest/test_connectivity.cpp index cc17fa94..6a7dd049 100644 --- a/Tests/unittest/test_connectivity.cpp +++ b/Tests/unittest/test_connectivity.cpp @@ -35,10 +35,12 @@ namespace WPEFramework } } } - + + class ConnectivityMonitorTest : public ::testing::Test { protected: - ConnectivityMonitor cm; + + WPEFramework::Plugin::ConnectivityMonitor cm; void SetUp() override { @@ -56,7 +58,7 @@ class ConnectivityMonitorTest : public ::testing::Test { } TEST_F(ConnectivityMonitorTest, StartContinuousMonitor_FailureNegativeTimeout) { - int timeout = -1; // Invalid timeout + int timeout = -1; bool result = cm.startContinuousConnectivityMonitor(timeout); EXPECT_FALSE(result); }