| Index: ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
|
| diff --git a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
|
| index 18f000d3229f59ed5ea38d72c9b9cde4f77a5efa..3d931da90e3260ff566c331cca57d27494a7ac9d 100644
|
| --- a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
|
| +++ b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
|
| @@ -541,29 +541,4 @@ TEST_F(MaximizeModeControllerTest, VerticalHingeUnstableAnglesTest) {
|
| }
|
| }
|
|
|
| -class MaximizeModeControllerSwitchesTest : public MaximizeModeControllerTest {
|
| - public:
|
| - MaximizeModeControllerSwitchesTest() {}
|
| - ~MaximizeModeControllerSwitchesTest() override {}
|
| -
|
| - void SetUp() override {
|
| - base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kAshEnableTouchViewTesting);
|
| - MaximizeModeControllerTest::SetUp();
|
| - }
|
| -
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(MaximizeModeControllerSwitchesTest);
|
| -};
|
| -
|
| -// Tests that when the command line switch for testing maximize mode is on, that
|
| -// accelerometer updates which would normally cause it to exit do not.
|
| -TEST_F(MaximizeModeControllerSwitchesTest, IgnoreHingeAngles) {
|
| - maximize_mode_controller()->EnableMaximizeModeWindowManager(true);
|
| -
|
| - // Would normally trigger an exit from maximize mode.
|
| - OpenLidToAngle(90.0f);
|
| - EXPECT_TRUE(IsMaximizeModeStarted());
|
| -}
|
| -
|
| } // namespace ash
|
|
|