From 05d66b85f1f15285699c256c1ed639426cb8cd36 Mon Sep 17 00:00:00 2001 From: cmuhammedrafi Date: Tue, 3 Dec 2024 17:00:04 +0000 Subject: [PATCH] test changes --- Tests/unit_test/test_NetworkManagerStunClient.cpp | 12 ------------ Tests/unit_test/test_WiFiSignalStrengthMonitor.cpp | 10 ---------- 2 files changed, 22 deletions(-) diff --git a/Tests/unit_test/test_NetworkManagerStunClient.cpp b/Tests/unit_test/test_NetworkManagerStunClient.cpp index 85e5b22a..60e970ae 100644 --- a/Tests/unit_test/test_NetworkManagerStunClient.cpp +++ b/Tests/unit_test/test_NetworkManagerStunClient.cpp @@ -8,23 +8,11 @@ using namespace stun; class AddressTest : public ::testing::Test { protected: stun::attributes::address ad; - void SetUp() override { - - } - void TearDown() override { - - } }; class ClientTest : public ::testing::Test { protected: stun::client cl; - void SetUp() override { - - } - void TearDown() override { - - } }; TEST_F(ClientTest, BindSuccess) { diff --git a/Tests/unit_test/test_WiFiSignalStrengthMonitor.cpp b/Tests/unit_test/test_WiFiSignalStrengthMonitor.cpp index a2e1d3f9..ec939a9d 100644 --- a/Tests/unit_test/test_WiFiSignalStrengthMonitor.cpp +++ b/Tests/unit_test/test_WiFiSignalStrengthMonitor.cpp @@ -4,11 +4,6 @@ #include "INetworkManager.h" #include #include -#include -#include -#include -#include -#include using namespace std; using namespace WPEFramework; @@ -32,12 +27,7 @@ namespace WPEFramework class WiFiSignalStrengthMonitorTest : public ::testing::Test { protected: WPEFramework::Plugin::WiFiSignalStrengthMonitor monitor; - void SetUp() override { - } - void TearDown() override { - } }; -#define BUFFER_SIZE 1024 TEST_F(WiFiSignalStrengthMonitorTest, GetSignalData_Connected) { std::string ssid = "TestSSID";