Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9284)

Unified Diff: ash/test/ash_test_helper.h

Issue 2790903002: Makes AshTestImpl::Create create the right impl based on config (Closed)
Patch Set: feedback Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/ash_test_impl_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_helper.h
diff --git a/ash/test/ash_test_helper.h b/ash/test/ash_test_helper.h
index 8d419477de6e6cc3d0412c94a6d2d3f27ef667d7..d016ebf1930f8620b9ac8d8cad65270ee315f64f 100644
--- a/ash/test/ash_test_helper.h
+++ b/ash/test/ash_test_helper.h
@@ -65,6 +65,10 @@ class AshTestHelper {
explicit AshTestHelper(AshTestEnvironment* ash_test_environment);
~AshTestHelper();
+ // Returns the configuration that tests are run in. See ash::Config enum for
+ // details.
+ static Config config() { return config_; }
+
// Creates the ash::Shell and performs associated initialization. Set
// |start_session| to true if the user should log in before the test is run.
void SetUp(bool start_session);
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/ash_test_impl_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698