#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "remoting/protocol/mouse_input_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"
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
_;
InSequence;
namespace remoting::protocol {
EqualsMouseMoveEvent;
static MouseEvent MouseMoveEvent(int x, int y) { … }
struct Point { … };
class MouseInputFilterTest : public testing::Test { … };
TEST_F(MouseInputFilterTest, NoDimensionsSet) { … }
TEST_F(MouseInputFilterTest, InputDimensionsZero) { … }
TEST_F(MouseInputFilterTest, OutputDimensionsZero) { … }
TEST_F(MouseInputFilterTest, BothDimensionsZero) { … }
TEST_F(MouseInputFilterTest, BothDimensionsOne) { … }
TEST_F(MouseInputFilterTest, BothDimensionsTwo) { … }
TEST_F(MouseInputFilterTest, NegativeDimensionsHandled) { … }
TEST_F(MouseInputFilterTest, NoScalingOrClipping) { … }
TEST_F(MouseInputFilterTest, UpScalingAndClamping) { … }
TEST_F(MouseInputFilterTest, DownScalingAndClamping) { … }
TEST_F(MouseInputFilterTest, MultimonLeftDefault_FullDesktop) { … }
TEST_F(MouseInputFilterTest, MultimonLeftDefault_ShowLeftDisplay) { … }
TEST_F(MouseInputFilterTest, MultimonLeftDefault_ShowRightDisplay) { … }
TEST_F(MouseInputFilterTest, MultimonRightDefault_ShowLeftDisplay) { … }
TEST_F(MouseInputFilterTest, MultimonRightDefault_ShowRightDisplay) { … }
}