Descriptionarc: Use the new InstanceHolder for unittests
Instead of having unit tests go through Mojo and jump through hoops to
ensure that all messages have propagated to all the threads, we can use
the new arc::ArcBridgeService::InstanceHolder<T>::SetInstance() to
directly set the concrete fake (and optional version). This simplifies
testing quite a bit.
BUG=626695
TEST=trybots
Committed: https://crrev.com/c5fffc64c14a0464f8870bbe91df7e945f42c3ca
Cr-Commit-Position: refs/heads/master@{#405138}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebased #Patch Set 3 : git cl lint #
Total comments: 4
Patch Set 4 : Rebase #Depends on Patchset: Messages
Total messages: 17 (4 generated)
|