Index: ash/login/ui/lock_screen_test.h |
diff --git a/ash/login/ui/lock_screen_test.h b/ash/login/ui/lock_screen_test.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d5be8427e62f41e58485d0eef57ea4e26ad0fe8a |
--- /dev/null |
+++ b/ash/login/ui/lock_screen_test.h |
@@ -0,0 +1,43 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ASH_LOGIN_UI_LOCK_SCREEN_TEST_H_ |
+#define ASH_LOGIN_UI_LOCK_SCREEN_TEST_H_ |
+ |
+#include "base/macros.h" |
+#include "ui/views/test/widget_test.h" |
+ |
+namespace views { |
+class Widget; |
+} |
+ |
+namespace ash { |
+ |
+// TODO(jdufault): Intercept mojo coming out of lock screen. |
+// TODO(jdufault): Provide methods to send mojo calls to lock screen. |
+ |
+// Base test fixture for testing the views-based lock screen. This makes it easy |
+// to instantiate the lock screen view hierarchy. |
+class LockScreenTest : public views::test::WidgetTest { |
+ public: |
+ LockScreenTest(); |
+ ~LockScreenTest() override; |
+ |
+ // Press the submit button. |
+ void PressSubmitButton(); |
+ |
+ // views::test::WidgetTest: |
+ void SetUp() override; |
+ void TearDown() override; |
+ |
+ protected: |
+ views::Widget* widget_ = nullptr; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(LockScreenTest); |
+}; |
+ |
+} // ash |
+ |
+#endif // ASH_LOGIN_UI_LOCK_SCREEN_TEST_H_ |