#include "remoting/protocol/clipboard_filter.h"
#include "remoting/proto/event.pb.h"
#include "remoting/protocol/protocol_mock_objects.h"
#include "remoting/protocol/test_event_matchers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
namespace remoting::protocol {
EqualsClipboardEvent;
static ClipboardEvent MakeClipboardEvent(const std::string& mime_type,
const std::string& data) { … }
TEST(ClipboardFilterTest, EventsPassThroughFilter) { … }
TEST(ClipboardFilterTest, PayloadLargerThanMaxSize) { … }
TEST(ClipboardFilterTest, PayloadEqualToMaxSize) { … }
TEST(ClipboardFilterTest, PayloadSmallerThanMaxSize) { … }
TEST(ClipboardFilterTest, MaxSizeSetToZero) { … }
TEST(ClipboardFilterTest, IgnoreEventsIfDisabled) { … }
TEST(ClipboardFilterTest, IgnoreEventsIfNotConfigured) { … }
}