Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: remoting/protocol/clipboard_filter_unittest.cc

Issue 985863002: Move all protocol event matchers to test_event_matchers.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/clipboard_filter_unittest.cc
diff --git a/remoting/protocol/clipboard_filter_unittest.cc b/remoting/protocol/clipboard_filter_unittest.cc
index d0cff8894db02cbe15ac236436661aed84f64fb4..5a169aa3ba199b3145f6e3441967ada39f03f51c 100644
--- a/remoting/protocol/clipboard_filter_unittest.cc
+++ b/remoting/protocol/clipboard_filter_unittest.cc
@@ -6,6 +6,7 @@
#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"
@@ -14,10 +15,6 @@ using ::testing::_;
namespace remoting {
namespace protocol {
-MATCHER_P2(EqualsClipboardEvent, mime_type, data, "") {
- return arg.mime_type() == mime_type && arg.data() == data;
-}
-
static ClipboardEvent MakeClipboardEvent(const std::string& mime_type,
const std::string& data) {
ClipboardEvent event;

Powered by Google App Engine
This is Rietveld 408576698