From f3c68422c2c5ec00477cb224340eebab92c3013f Mon Sep 17 00:00:00 2001 From: lasan Date: Sun, 24 May 2026 19:51:02 +0530 Subject: [PATCH] added test headers and stuff --- .../linux/tests/ble_v2_medium_test.cc | 23 +++++++++++++++++++ .../tests/bluetooth_classic_medium_test.cc | 5 ++++ .../tests/bluetooth_classic_medium_test.h | 14 +++++++++++ .../linux/tests/wifi_hotspot_medium_test.cc | 5 ++++ .../linux/tests/wifi_hotspot_medium_test.h | 14 +++++++++++ .../linux/tests/wifi_medium_test.cc | 5 ++++ .../linux/tests/wifi_medium_test.h | 14 +++++++++++ 7 files changed, 80 insertions(+) create mode 100644 internal/platform/implementation/linux/tests/ble_v2_medium_test.cc create mode 100644 internal/platform/implementation/linux/tests/bluetooth_classic_medium_test.cc create mode 100644 internal/platform/implementation/linux/tests/bluetooth_classic_medium_test.h create mode 100644 internal/platform/implementation/linux/tests/wifi_hotspot_medium_test.cc create mode 100644 internal/platform/implementation/linux/tests/wifi_hotspot_medium_test.h create mode 100644 internal/platform/implementation/linux/tests/wifi_medium_test.cc create mode 100644 internal/platform/implementation/linux/tests/wifi_medium_test.h diff --git a/internal/platform/implementation/linux/tests/ble_v2_medium_test.cc b/internal/platform/implementation/linux/tests/ble_v2_medium_test.cc new file mode 100644 index 00000000..8144dc9e --- /dev/null +++ b/internal/platform/implementation/linux/tests/ble_v2_medium_test.cc @@ -0,0 +1,23 @@ +#include "internal/platform/implementation/linux/bluetooth_adapter.h" + + +#include +namespace nearby { +namespace linux { + + +class MockBluetoothAdapter: public BluetoothAdapter { + +}; + +class BleV2MediumTests: public ::testing::Test { +public: + static void SetupTestSuite() { + + } + static void TearDownTestSuite() { + + } +}; +} +} \ No newline at end of file diff --git a/internal/platform/implementation/linux/tests/bluetooth_classic_medium_test.cc b/internal/platform/implementation/linux/tests/bluetooth_classic_medium_test.cc new file mode 100644 index 00000000..e4639f82 --- /dev/null +++ b/internal/platform/implementation/linux/tests/bluetooth_classic_medium_test.cc @@ -0,0 +1,5 @@ +// +// Created by lasan on 5/24/26. +// + +#include "bluetooth_classic_medium_test.h" \ No newline at end of file diff --git a/internal/platform/implementation/linux/tests/bluetooth_classic_medium_test.h b/internal/platform/implementation/linux/tests/bluetooth_classic_medium_test.h new file mode 100644 index 00000000..9b7b91f7 --- /dev/null +++ b/internal/platform/implementation/linux/tests/bluetooth_classic_medium_test.h @@ -0,0 +1,14 @@ +// +// Created by lasan on 5/24/26. +// + +#ifndef NEARBY_LATEST_BLUETOOTH_CLASSIC_MEDIUM_TEST_H +#define NEARBY_LATEST_BLUETOOTH_CLASSIC_MEDIUM_TEST_H + + +class bluetooth_classic_medium_test +{ +}; + + +#endif //NEARBY_LATEST_BLUETOOTH_CLASSIC_MEDIUM_TEST_H \ No newline at end of file diff --git a/internal/platform/implementation/linux/tests/wifi_hotspot_medium_test.cc b/internal/platform/implementation/linux/tests/wifi_hotspot_medium_test.cc new file mode 100644 index 00000000..90f473c3 --- /dev/null +++ b/internal/platform/implementation/linux/tests/wifi_hotspot_medium_test.cc @@ -0,0 +1,5 @@ +// +// Created by lasan on 5/24/26. +// + +#include "wifi_hotspot_medium_test.h" \ No newline at end of file diff --git a/internal/platform/implementation/linux/tests/wifi_hotspot_medium_test.h b/internal/platform/implementation/linux/tests/wifi_hotspot_medium_test.h new file mode 100644 index 00000000..077ad393 --- /dev/null +++ b/internal/platform/implementation/linux/tests/wifi_hotspot_medium_test.h @@ -0,0 +1,14 @@ +// +// Created by lasan on 5/24/26. +// + +#ifndef NEARBY_LATEST_WIFI_HOTSPOT_MEDIUM_TEST_H +#define NEARBY_LATEST_WIFI_HOTSPOT_MEDIUM_TEST_H + + +class wifi_hotspot_medium_test +{ +}; + + +#endif //NEARBY_LATEST_WIFI_HOTSPOT_MEDIUM_TEST_H \ No newline at end of file diff --git a/internal/platform/implementation/linux/tests/wifi_medium_test.cc b/internal/platform/implementation/linux/tests/wifi_medium_test.cc new file mode 100644 index 00000000..e73f365a --- /dev/null +++ b/internal/platform/implementation/linux/tests/wifi_medium_test.cc @@ -0,0 +1,5 @@ +// +// Created by lasan on 5/24/26. +// + +#include "wifi_medium_test.h" \ No newline at end of file diff --git a/internal/platform/implementation/linux/tests/wifi_medium_test.h b/internal/platform/implementation/linux/tests/wifi_medium_test.h new file mode 100644 index 00000000..edb14e14 --- /dev/null +++ b/internal/platform/implementation/linux/tests/wifi_medium_test.h @@ -0,0 +1,14 @@ +// +// Created by lasan on 5/24/26. +// + +#ifndef NEARBY_LATEST_WIFI_MEDIUM_TEST_H +#define NEARBY_LATEST_WIFI_MEDIUM_TEST_H + + +class wifi_medium_test +{ +}; + + +#endif //NEARBY_LATEST_WIFI_MEDIUM_TEST_H \ No newline at end of file