commit | 0d5d318987dde8b60ca474976128c5543b2e2563 | [log] [tgz] |
---|---|---|
author | jrummell <jrummell@chromium.org> | Sat Jan 07 00:15:22 2017 |
committer | Commit bot <commit-bot@chromium.org> | Sat Jan 07 00:15:22 2017 |
tree | b359c3ed2701f29085d868f4e9f54a49fe8f4d23 | |
parent | 51b59b3aa445abf8ed7d378d565136b602d1726b [diff] |
Test breaking the mojo connection to MojoCdm Improve the testing on MojoCdm by adding a MockCdm. This allows for testing that: - resolving the promise works - rejecting the promise works - closing the connection before a call works - closing the connection while executing the call works. BUG=671362 TEST=new tests pass Review-Url: https://codereview.chromium.org/2592913002 Cr-Commit-Position: refs/heads/master@{#442104}