chromium/remoting/host/mouse_shape_pump_unittest.cc

// Copyright 2015 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/host/mouse_shape_pump.h"

#include <memory>
#include <utility>

#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "remoting/host/host_mock_objects.h"
#include "remoting/proto/video.pb.h"
#include "remoting/protocol/protocol_mock_objects.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
#include "third_party/webrtc/modules/desktop_capture/mouse_cursor.h"
#include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h"

MockClientStub;

_;
InvokeWithoutArgs;

namespace remoting {

static const int kCursorWidth =;
static const int kCursorHeight =;
static const int kHotspotX =;
static const int kHotspotY =;

class TestMouseCursorMonitor : public webrtc::MouseCursorMonitor {};

class MouseShapePumpTest : public testing::Test {};

void MouseShapePumpTest::SetCursorShape(
    const protocol::CursorShapeInfo& cursor_shape) {}

// This test mocks MouseCursorMonitor and ClientStub to verify that the
// MouseShapePump sends the cursor successfully.
TEST_F(MouseShapePumpTest, FirstCursor) {}

TEST_F(MouseShapePumpTest, DefaultCaptureInterval) {}

TEST_F(MouseShapePumpTest, UpdatedCaptureInterval) {}

}  // namespace remoting