#include "components/openscreen_platform/message_port_tls_connection.h"
#include <memory>
#include <queue>
#include <string_view>
#include "base/memory/raw_ptr.h"
#include "components/cast/message_port/message_port.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/openscreen/src/platform/api/task_runner.h"
#include "third_party/openscreen/src/platform/api/tls_connection.h"
#include "third_party/openscreen/src/platform/base/ip_address.h"
#include "third_party/openscreen/src/platform/base/span.h"
_;
Mock;
Return;
StrictMock;
namespace openscreen_platform {
namespace {
class MockMessagePort : public cast_api_bindings::MessagePort { … };
class MockTlsConnectionClient : public openscreen::TlsConnection::Client { … };
class MockTaskRunner : public openscreen::TaskRunner { … };
}
class MessagePortTlsConnectionTest : public testing::Test { … };
TEST_F(MessagePortTlsConnectionTest, OnMessage) { … }
TEST_F(MessagePortTlsConnectionTest, OnPipeError) { … }
TEST_F(MessagePortTlsConnectionTest, Send) { … }
}