commit | 1afd079c5b67c99d6bf32782ebd991b421de91ec | [log] [tgz] |
---|---|---|
author | Joe Mason <joenotcharles@google.com> | Sat Dec 14 02:34:45 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Dec 14 02:34:45 2019 |
tree | 159321b55d532ee5182e74effecdcd9e2a7759c3 | |
parent | 6c81d351af61be62217bebcc6e26847284013c03 [diff] |
Allow mojo proxy objects to be created unbound for testing. There are 5 tests in the internal repo (one per class) that subclass these objects for mocks. The new PendingAssociatedRemote in the constructor takes a lot of boilerplate to initialize and since the constructor asserts on is_valid() it can't take unbound remote. That greatly complicates the test setup even though the tests don't actually use the remote. R=proberge Bug: 1034077 Change-Id: Ica228fe42dddd09d75613a58c831d8c8f1ab504f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1967440 Reviewed-by: proberge <proberge@chromium.org> Commit-Queue: Joe Mason <joenotcharles@chromium.org> Cr-Commit-Position: refs/heads/master@{#724884}
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 .