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

Unified Diff: ui/base/material_design/material_design_controller_unittest.cc

Issue 1943093002: [Mac][Material Design] Make Material Design the default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable Material Design controller tests. Created 4 years, 8 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
Index: ui/base/material_design/material_design_controller_unittest.cc
diff --git a/ui/base/material_design/material_design_controller_unittest.cc b/ui/base/material_design/material_design_controller_unittest.cc
index b86820d89c7174d03ff858e852e7435ed45a9d04..85a9280ee92cdf69e47a664efae12adbbe3751e6 100644
--- a/ui/base/material_design/material_design_controller_unittest.cc
+++ b/ui/base/material_design/material_design_controller_unittest.cc
@@ -108,6 +108,13 @@ TEST_F(MaterialDesignControllerTest,
MaterialDesignController::GetMode());
}
+#elif defined(OS_MACOSX)
+
+// Verify that MaterialDesignController::IsModeMaterial() is true.
+TEST_F(MaterialDesignControllerTestMaterial, IsModeMaterialInitializesMode) {
+ EXPECT_TRUE(MaterialDesignController::IsModeMaterial());
tdanderson 2016/05/05 14:56:55 Since OSX does include ENABLE_TOPCHROME_MD I don't
shrike 2016/05/05 16:10:51 Thank you. With your other suggested change the MD
+}
+
#else
// Verify command line value "material" maps to Mode::MATERIAL when the compile

Powered by Google App Engine
This is Rietveld 408576698