From a02424834142c190311efbe99a64e7f768892fc8 Mon Sep 17 00:00:00 2001 From: hai007 Date: Tue, 19 Aug 2025 15:33:28 -0700 Subject: [PATCH] Delete test that tests behavior when std::string_view is constructed from nullptr PiperOrigin-RevId: 797045149 --- .../implementation/windows/bluetooth_adapter_test.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/internal/platform/implementation/windows/bluetooth_adapter_test.cc b/internal/platform/implementation/windows/bluetooth_adapter_test.cc index 32577ca2..b1daa9df 100644 --- a/internal/platform/implementation/windows/bluetooth_adapter_test.cc +++ b/internal/platform/implementation/windows/bluetooth_adapter_test.cc @@ -77,16 +77,6 @@ TEST(BluetoothAdapter, DISABLED_SetNameWithEmptyStringSetsOriginalName) { EXPECT_EQ(bluetooth_adapter.GetName(), original_name); } -TEST(BluetoothAdapter, DISABLED_SetNameWithNullPtrSetsOriginalName) { - BluetoothAdapter bluetooth_adapter; - auto original_name = bluetooth_adapter.GetName(); - - bluetooth_adapter.SetName(nullptr, - /* persist= */ false); - - EXPECT_EQ(bluetooth_adapter.GetName(), original_name); -} - TEST(BluetoothAdapter, DISABLED_SetStatus) { BluetoothAdapter bluetooth_adapter; EXPECT_TRUE(