OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_LOGIN_UI_LOCK_SCREEN_TEST_H_ |
| 6 #define ASH_LOGIN_UI_LOCK_SCREEN_TEST_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "ui/views/test/widget_test.h" |
| 10 |
| 11 namespace views { |
| 12 class Widget; |
| 13 } |
| 14 |
| 15 namespace ash { |
| 16 |
| 17 // TODO(jdufault): Intercept mojo coming out of lock screen. |
| 18 // TODO(jdufault): Provide methods to send mojo calls to lock screen. |
| 19 |
| 20 // Base test fixture for testing the views-based lock screen. This makes it easy |
| 21 // to instantiate the lock screen view hierarchy. |
| 22 class LockScreenTest : public views::test::WidgetTest { |
| 23 public: |
| 24 LockScreenTest(); |
| 25 ~LockScreenTest() override; |
| 26 |
| 27 // Press the submit button. |
| 28 void PressSubmitButton(); |
| 29 |
| 30 // views::test::WidgetTest: |
| 31 void SetUp() override; |
| 32 void TearDown() override; |
| 33 |
| 34 protected: |
| 35 views::Widget* widget_ = nullptr; |
| 36 |
| 37 private: |
| 38 DISALLOW_COPY_AND_ASSIGN(LockScreenTest); |
| 39 }; |
| 40 |
| 41 } // ash |
| 42 |
| 43 #endif // ASH_LOGIN_UI_LOCK_SCREEN_TEST_H_ |
OLD | NEW |