commit | 8f417bb7fd82e2a5e46f528c63894297f08f8771 | [log] [tgz] |
---|---|---|
author | Scott Violet <sky@chromium.org> | Tue Nov 28 23:06:53 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 28 23:06:53 2017 |
tree | 13311cc6bc56357a565d56ea3a84bbab077a368c | |
parent | 72d61b4293d504286ecff08f96b0dbaaa3b4842c [diff] |
aura: adds AuraTestSuiteSetup to configure Env and mus The current pattern for test suites that *may* use aura has the test suite create aura::Env. In order to enable mus more broadly we need to make it so that the test suite configures Env appropriate for mus. This patch adds AuraTestSuiteSetup that is meant to setup the necessary state at the test suite level for tests that may use aura. It looks at the command line and potentially enables mus as appropriate. In order to setup env for mus WindowTreeClient needs to be configured, which required moving around some stubs. I had to update AuraTestHelper for mus being configured at the global level. This is mildly complicated by the fact that AuraTestHelper wants to create its own WindowTreeClient in this case. BUG=776514 TEST=covered by tests Change-Id: Ie433e4f6afe58b2aa15bdfb08fe462c6c1a30fad Reviewed-on: https://chromium-review.googlesource.com/792455 Commit-Queue: Scott Violet <sky@chromium.org> Reviewed-by: Elliot Glaysher <erg@chromium.org> Cr-Commit-Position: refs/heads/master@{#519884}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .