#include "device/bluetooth/bluez/bluetooth_advertisement_bluez.h"
#include <memory>
#include <vector>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/bluetooth/bluetooth_advertisement.h"
#include "device/bluetooth/dbus/bluez_dbus_manager.h"
#include "device/bluetooth/dbus/fake_bluetooth_le_advertisement_service_provider.h"
#include "device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.h"
#include "device/bluetooth/floss/floss_features.h"
#include "device/bluetooth/test/test_bluetooth_advertisement_observer.h"
#include "testing/gtest/include/gtest/gtest.h"
BluetoothAdapter;
BluetoothAdapterFactory;
BluetoothAdvertisement;
TestBluetoothAdvertisementObserver;
namespace bluez {
class BluetoothAdvertisementBlueZTest : public testing::Test { … };
TEST_F(BluetoothAdvertisementBlueZTest, RegisterSucceeded) { … }
TEST_F(BluetoothAdvertisementBlueZTest, DoubleRegisterSucceeded) { … }
TEST_F(BluetoothAdvertisementBlueZTest, RegisterTooManyFailed) { … }
TEST_F(BluetoothAdvertisementBlueZTest, DoubleUnregisterFailed) { … }
TEST_F(BluetoothAdvertisementBlueZTest, UnregisterAfterReleasedFailed) { … }
TEST_F(BluetoothAdvertisementBlueZTest, UnregisterAfterAdapterShutdown) { … }
TEST_F(BluetoothAdvertisementBlueZTest, ResetAdvertising) { … }
}