OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/client/plugin/empty_cursor_filter.h" | 5 #include "remoting/client/empty_cursor_filter.h" |
6 | 6 |
7 #include <ostream> | 7 #include <ostream> |
8 | 8 |
9 #include "remoting/proto/control.pb.h" | 9 #include "remoting/proto/control.pb.h" |
10 #include "remoting/protocol/cursor_shape_stub.h" | 10 #include "remoting/protocol/cursor_shape_stub.h" |
11 #include "remoting/protocol/protocol_mock_objects.h" | 11 #include "remoting/protocol/protocol_mock_objects.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace remoting { | 15 namespace remoting { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 const protocol::CursorShapeInfo& kOpaqueCursor = CreateOpaqueCursorShape(); | 123 const protocol::CursorShapeInfo& kOpaqueCursor = CreateOpaqueCursorShape(); |
124 protocol::MockCursorShapeStub cursor_stub; | 124 protocol::MockCursorShapeStub cursor_stub; |
125 EmptyCursorFilter cursor_filter(&cursor_stub); | 125 EmptyCursorFilter cursor_filter(&cursor_stub); |
126 | 126 |
127 EXPECT_CALL(cursor_stub, SetCursorShape(EqualsCursorShape(kOpaqueCursor))); | 127 EXPECT_CALL(cursor_stub, SetCursorShape(EqualsCursorShape(kOpaqueCursor))); |
128 | 128 |
129 cursor_filter.SetCursorShape(kOpaqueCursor); | 129 cursor_filter.SetCursorShape(kOpaqueCursor); |
130 } | 130 } |
131 | 131 |
132 } // namespace remoting | 132 } // namespace remoting |
OLD | NEW |