Chromium Code Reviews
Description[views-mus] Prevent creating a native OzonePlatform in mus tests.
In the views_mus_unittests, we were always creating a native
OzonePlatform instance. Sometimes this was used instead of mus for the
test body. In most cases, it was accessed during test setup. This
modifies the test code to not build an implicit OzonePlatform.
In normal mus builds of chrome, we do not run with an OzonePlatform and
instead manually initialize some of the objects that OzonePlatform
owns. This ensures that AuraTestHelper doesn't create a local
implementation using the same detection method that Env uses to flip
into aura-mus mode.
BUG=705037, 710195, 710939
Review-Url: https://codereview.chromium.org/2807833002
Cr-Commit-Position: refs/heads/master@{#464147}
Committed: https://chromium.googlesource.com/chromium/src/+/ac2e0aeea11a2641dfca4d1b192bd1641b5cd5d3
Patch Set 1 #Patch Set 2 : Prevent mac from building files it can't handle #Patch Set 3 : Use the same detection method at all levels. #
Total comments: 9
Patch Set 4 : Make the initialization of Env in views_mus_unittests MUS initially. #Patch Set 5 : And make mash_unittests work too #Patch Set 6 : sky comments #
Total comments: 2
Messages
Total messages: 43 (35 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||