Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Unified Diff: components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc

Issue 2574853002: De-flake BluetoothLowEnergyWeave* tests. (Closed)
Patch Set: Removed TODO comments. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/proximity_auth/ble/bluetooth_low_energy_weave_packet_generator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc b/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
index 26837fa0c852dcf0058251bdb88aafb00f5984b5..c376a794b606f015e47f5c78b7a7770077234e45 100644
--- a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
+++ b/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
@@ -361,6 +361,13 @@ class ProximityAuthBluetoothLowEnergyWeaveClientConnectionTest
receiver_factory_);
}
+ ~ProximityAuthBluetoothLowEnergyWeaveClientConnectionTest() override {
+ BluetoothLowEnergyWeavePacketGenerator::Factory::SetInstanceForTesting(
+ nullptr);
+ BluetoothLowEnergyWeavePacketReceiver::Factory::SetInstanceForTesting(
+ nullptr);
+ }
+
void SetUp() override {
device_ = base::MakeUnique<NiceMock<device::MockBluetoothDevice>>(
adapter_.get(), 0, kTestRemoteDeviceName,
« no previous file with comments | « no previous file | components/proximity_auth/ble/bluetooth_low_energy_weave_packet_generator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698