commit | acfba70b1553c50a47fc9a71ab759eeb79c1bc32 | [log] [tgz] |
---|---|---|
author | mark a. foltz <mfoltz@chromium.org> | Fri Feb 08 04:47:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 08 04:47:50 2019 |
tree | b95abf007448db5b3e3aa8787cd6c454051aca71 | |
parent | 86e0430c83a59bf9c23772a8cf1ca62a603c1625 [diff] |
[Media Router] Simplify unit tests This patch removes various 'trampoline' methods used to handle move-only parameters or set expectations on callback parameters. In most cases these can be replaced by standard GMock idioms. This patch does keep RouteResponseCallbackHandler, which is used to unpack and set expectations on parts of RouteRequestResult. A duplicate copy is removed in this patch. Bug: 851567 Change-Id: I4309327df4a437b4aa565837c4f7b0861dd3f208 Reviewed-on: https://chromium-review.googlesource.com/c/1459327 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by: Takumi Fujimoto <takumif@chromium.org> Cr-Commit-Position: refs/heads/master@{#630194}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .