| Index: components/proximity_auth/unlock_manager_impl_unittest.cc
|
| diff --git a/components/proximity_auth/unlock_manager_impl_unittest.cc b/components/proximity_auth/unlock_manager_impl_unittest.cc
|
| index 004ae9d8024de72811c8a0e0f8eb0410c3d5f8c5..bc88d7c853b3172f6fc2a9f45c61f4b4d1f2263b 100644
|
| --- a/components/proximity_auth/unlock_manager_impl_unittest.cc
|
| +++ b/components/proximity_auth/unlock_manager_impl_unittest.cc
|
| @@ -519,6 +519,18 @@ TEST_F(ProximityAuthUnlockManagerImplTest,
|
| }
|
|
|
| TEST_F(ProximityAuthUnlockManagerImplTest,
|
| + OnLifeCycleStateChanged_FindingConnection_BluetoothAdapterOff) {
|
| + CreateUnlockManager(ProximityAuthSystem::SESSION_LOCK);
|
| + unlock_manager_->SetRemoteDeviceLifeCycle(&life_cycle_);
|
| +
|
| + EXPECT_CALL(proximity_auth_client_,
|
| + UpdateScreenlockState(ScreenlockState::NO_BLUETOOTH));
|
| + ON_CALL(*bluetooth_adapter_, IsPowered()).WillByDefault(Return(false));
|
| + life_cycle_.ChangeState(RemoteDeviceLifeCycle::State::FINDING_CONNECTION);
|
| + unlock_manager_->OnLifeCycleStateChanged();
|
| +}
|
| +
|
| +TEST_F(ProximityAuthUnlockManagerImplTest,
|
| OnLifeCycleStateChanged_Authenticating_UpdatesScreenlockState) {
|
| CreateUnlockManager(ProximityAuthSystem::SESSION_LOCK);
|
| unlock_manager_->SetRemoteDeviceLifeCycle(&life_cycle_);
|
|
|