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

Unified Diff: ui/views/test/platform_test_helper.cc

Issue 2489903002: Disables tooltip tests for aura-mus-client (Closed)
Patch Set: tweak Created 4 years, 1 month 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 | « ui/views/test/platform_test_helper.h ('k') | ui/views/test/views_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/platform_test_helper.cc
diff --git a/ui/views/test/platform_test_helper.cc b/ui/views/test/platform_test_helper.cc
index 1d309ee25931b11829d15dacd8a0ca940a59056c..b6626189fa390b2141ef70e1ff3704344714770f 100644
--- a/ui/views/test/platform_test_helper.cc
+++ b/ui/views/test/platform_test_helper.cc
@@ -23,6 +23,7 @@ class DefaultPlatformTestHelper : public PlatformTestHelper {
PlatformTestHelper::Factory test_helper_factory;
bool is_mus = false;
+bool is_aura_mus_client = false;
} // namespace
@@ -48,4 +49,14 @@ bool PlatformTestHelper::IsMus() {
return is_mus;
}
+// static
+void PlatformTestHelper::SetIsAuraMusClient() {
+ is_aura_mus_client = true;
+}
+
+// static
+bool PlatformTestHelper::IsAuraMusClient() {
+ return is_aura_mus_client;
+}
+
} // namespace views
« no previous file with comments | « ui/views/test/platform_test_helper.h ('k') | ui/views/test/views_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698