#include "device/bluetooth/floss/floss_socket_manager.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "dbus/bus.h"
#include "dbus/message.h"
#include "dbus/mock_bus.h"
#include "dbus/mock_exported_object.h"
#include "dbus/mock_object_proxy.h"
#include "dbus/object_path.h"
#include "device/bluetooth/floss/floss_dbus_client.h"
#include "device/bluetooth/floss/floss_manager_client.h"
#include "device/bluetooth/floss/test_helpers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
_;
}
namespace floss {
Security;
BtifStatus;
class FlossSocketManagerTest : public testing::Test { … };
TEST_F(FlossSocketManagerTest, ListenOnSockets) { … }
TEST_F(FlossSocketManagerTest, ConnectToSockets) { … }
TEST_F(FlossSocketManagerTest, AcceptAndCloseConnection) { … }
TEST_F(FlossSocketManagerTest, IncomingStateChanges) { … }
TEST_F(FlossSocketManagerTest, IncomingConnections) { … }
}