Descriptiondbus: Mock MockObjectProxy::SetNameOwnerChangedCallback().
ObjectProxy's real method calls Bus::AssertOnOriginThread()
and causes in some log spam (but surprisingly doesn't
crash). Override the method in MockObjectProxy to prevent
this.
Also update chromeos::PowerManagerClientTest to expect this
call.
BUG=646912
Committed: https://crrev.com/0ef935c2ea78249e96fb76fbc3bb91a79ab32afb
Cr-Commit-Position: refs/heads/master@{#418864}
Patch Set 1 #
Messages
Total messages: 14 (6 generated)
|