#include "cast/common/public/cast_socket.h"
#include "cast/common/channel/message_framer.h"
#include "cast/common/channel/proto/cast_channel.pb.h"
#include "cast/common/channel/testing/fake_cast_socket.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace openscreen::cast {
CastMessage;
namespace {
_;
Invoke;
Return;
class CastSocketTest : public ::testing::Test { … };
}
TEST_F(CastSocketTest, SendMessage) { … }
TEST_F(CastSocketTest, SendMessageEventuallyBlocks) { … }
TEST_F(CastSocketTest, ReadCompleteMessage) { … }
TEST_F(CastSocketTest, ReadChunkedMessage) { … }
TEST_F(CastSocketTest, ReadMultipleMessagesPerBlock) { … }
TEST_F(CastSocketTest, SanitizedAddress) { … }
}