DescriptionReland of arc: Use the new InstanceHolder for unittests (patchset #1 id:1 of https://codereview.chromium.org/2146573005/ )
Reason for revert:
https://codereview.chromium.org/2150583002 should fix the underlying issue that this change surfaced.
Original issue's description:
> Revert of arc: Use the new InstanceHolder for unittests (patchset #4 id:60001 of https://codereview.chromium.org/2138513002/ )
>
> Reason for revert:
> Caused unit_tests failure on Linux ChromiumOS Tests (1):
>
> ArcAppModelBuilderTest.RemoveAppCleanUpFolder
>
> Original issue's description:
> > arc: 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}
>
> TBR=hidehiko@chromium.org,stevenjb@chromium.org,lhchavez@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=626695
>
> Committed: https://crrev.com/03b1e37434a736bbb5c764dd980787e54c93868b
> Cr-Commit-Position: refs/heads/master@{#405165}
Committed: https://crrev.com/5aa0d0ed4da47326e168783b8251d8fbf0c58add
Cr-Commit-Position: refs/heads/master@{#405785}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Fixed bad merge #Messages
Total messages: 21 (14 generated)
|