Skip to content

Commit

Permalink
editing
Browse files Browse the repository at this point in the history
  • Loading branch information
parvathika committed Nov 15, 2024
1 parent 84b126b commit d9e7fa1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Tests/unittest/test_connectivity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ namespace WPEFramework
}
}
}



class ConnectivityMonitorTest : public ::testing::Test {
protected:
ConnectivityMonitor cm;

WPEFramework::Plugin::ConnectivityMonitor cm;

void SetUp() override {

Expand All @@ -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);
}
Expand Down

0 comments on commit d9e7fa1

Please sign in to comment.