chromium/device/bluetooth/floss/floss_socket_manager_unittest.cc

// Copyright 2022 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/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

namespace floss {

Security;
BtifStatus;

class FlossSocketManagerTest : public testing::Test {};

// Tests for good path

TEST_F(FlossSocketManagerTest, ListenOnSockets) {}

TEST_F(FlossSocketManagerTest, ConnectToSockets) {}

// Really basic calls to accept and close
TEST_F(FlossSocketManagerTest, AcceptAndCloseConnection) {}

// Handle state changes from calling accept and close.
TEST_F(FlossSocketManagerTest, IncomingStateChanges) {}

// Handle incoming socket connections.
TEST_F(FlossSocketManagerTest, IncomingConnections) {}

}  // namespace floss