// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "device/bluetooth/advertisement.h" #include "base/run_loop.h" #include "base/test/task_environment.h" #include "device/bluetooth/bluetooth_advertisement.h" #include "testing/gtest/include/gtest/gtest.h" namespace { class FakeBluetoothAdvertisement : public device::BluetoothAdvertisement { … }; } // namespace namespace bluetooth { class AdvertisementTest : public testing::Test { … }; TEST_F(AdvertisementTest, TestOnDestroyCallsUnregister) { … } TEST_F(AdvertisementTest, TestUnregister) { … } } // namespace bluetooth