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

Side by Side Diff: ash/common/material_design/material_design_controller_unittest.cc

Issue 2074213002: mash: Move ash_switches.* to ash/common; cleanup DEPS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix broken relative include. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <memory> 5 #include <memory>
6 #include <string> 6 #include <string>
7 7
8 #include "ash/ash_switches.h" 8 #include "ash/common/ash_switches.h"
9 #include "ash/common/material_design/material_design_controller.h" 9 #include "ash/common/material_design/material_design_controller.h"
10 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
11 #include "ash/test/material_design_controller_test_api.h" 11 #include "ash/test/material_design_controller_test_api.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace ash { 16 namespace ash {
17 namespace { 17 namespace {
18 18
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Verify an invalid command line value uses the default mode. 126 // Verify an invalid command line value uses the default mode.
127 TEST_F(MaterialDesignControllerTestInvalid, CommandLineValue) { 127 TEST_F(MaterialDesignControllerTestInvalid, CommandLineValue) {
128 EXPECT_EQ(test::MaterialDesignControllerTestAPI::DefaultMode() == 128 EXPECT_EQ(test::MaterialDesignControllerTestAPI::DefaultMode() ==
129 MaterialDesignController::Mode::MATERIAL_NORMAL || 129 MaterialDesignController::Mode::MATERIAL_NORMAL ||
130 test::MaterialDesignControllerTestAPI::DefaultMode() == 130 test::MaterialDesignControllerTestAPI::DefaultMode() ==
131 MaterialDesignController::Mode::MATERIAL_EXPERIMENTAL, 131 MaterialDesignController::Mode::MATERIAL_EXPERIMENTAL,
132 test::MaterialDesignControllerTestAPI::IsMaterial()); 132 test::MaterialDesignControllerTestAPI::IsMaterial());
133 } 133 }
134 134
135 } // namespace ash 135 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/material_design/material_design_controller.cc ('k') | ash/common/system/chromeos/power/tray_power.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698