chromium/remoting/protocol/clipboard_filter_unittest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

// Verify that the filter passes events on correctly to a configured stub.
TEST(ClipboardFilterTest, EventsPassThroughFilter) {}

// Verify that the filter truncates payload if larger than |max_size|.
TEST(ClipboardFilterTest, PayloadLargerThanMaxSize) {}

// Verify that the filter does not truncate payload if equal to |max_size|.
TEST(ClipboardFilterTest, PayloadEqualToMaxSize) {}

// Verify that the filter does not truncate payload if smaller than |max_size|.
TEST(ClipboardFilterTest, PayloadSmallerThanMaxSize) {}

// Verify that the filter ignores events if max_size is 0.
TEST(ClipboardFilterTest, MaxSizeSetToZero) {}

// Verify that the filter ignores events if disabled.
TEST(ClipboardFilterTest, IgnoreEventsIfDisabled) {}

// Verify that the filter ignores events if not configured.
TEST(ClipboardFilterTest, IgnoreEventsIfNotConfigured) {}

}  // namespace remoting::protocol