#include "cast/common/channel/virtual_connection_router.h"
#include <utility>
#include "cast/common/channel/connection_namespace_handler.h"
#include "cast/common/channel/message_util.h"
#include "cast/common/channel/proto/cast_channel.pb.h"
#include "cast/common/channel/testing/fake_cast_socket.h"
#include "cast/common/channel/testing/mock_cast_message_handler.h"
#include "cast/common/channel/testing/mock_socket_error_handler.h"
#include "cast/common/public/cast_socket.h"
#include "gtest/gtest.h"
namespace openscreen::cast {
namespace {
static_assert …;
static_assert …;
static_assert …;
static_assert …;
CastMessage;
_;
Invoke;
SaveArg;
WithArg;
class VirtualConnectionRouterTest : public ::testing::Test { … };
}
TEST_F(VirtualConnectionRouterTest, NoConnections) { … }
TEST_F(VirtualConnectionRouterTest, AddConnections) { … }
TEST_F(VirtualConnectionRouterTest, RemoveConnections) { … }
TEST_F(VirtualConnectionRouterTest, RemoveConnectionsByIds) { … }
TEST_F(VirtualConnectionRouterTest, LocalIdHandler) { … }
TEST_F(VirtualConnectionRouterTest, RemoveLocalIdHandler) { … }
TEST_F(VirtualConnectionRouterTest, SendMessage) { … }
TEST_F(VirtualConnectionRouterTest, CloseSocketRemovesVirtualConnections) { … }
TEST_F(VirtualConnectionRouterTest, BroadcastsFromLocalSource) { … }
TEST_F(VirtualConnectionRouterTest, BroadcastsFromRemoteSource) { … }
TEST_F(VirtualConnectionRouterTest, HandlesConnectionMessagesAsSpecialCase) { … }
}