Chromium Code Reviews
DescriptionSplit out Ash dependency in app info dialog unittests
The app info dialog doesn't have an ash dependency on Mac, so this needs
to be isolated.
The non-Ash tests have both an Extensions and a Views dependency. The
extension system requires a BrowserThreadBundle (from content), which
was previously provided by AshTestBase. However, ViewsTestBase does not
(and shouldn't) have a content dependency. Instead, it can use the
BrowserThreadBundle provided by TestExtensionEnvironment which has some
other useful things.
Then, to satisfy the Views dependency, we still can't use ViewsTestBase
because it has its own MessageLoop that will fight with the
BrowserThreadBundle. A follow-up will introduce a ScopedViewsTestHelper
to allow the test to run on Mac, but for now just use AshTestBase.
In the AppInfo unittests, make better use of TestExtensionEnvironment to
reuse common code.
BUG=485854, 412234
Committed: https://crrev.com/c7bd3ce802ecdbb5a99bb1e0116d2ccd8e3bf86f
Cr-Commit-Position: refs/heads/master@{#334533}
Patch Set 1 #Patch Set 2 : Ugh fix ash maybe #Patch Set 3 : another experiment #Patch Set 4 : Use ScopedViewsTestHelper #Patch Set 5 : Just one ole #Patch Set 6 : Find some more clients #Patch Set 7 : fix aura compile: -> -> . #Patch Set 8 : nits #Patch Set 9 : More simplifications in ViewEventTestBase #Patch Set 10 : Fix DesktopAuraWidgetTest #Patch Set 11 : ViewEventTestBase will not play nice #
Total comments: 1
Patch Set 12 : Split out ScopedViewsTestHelper #Messages
Total messages: 13 (6 generated)
|