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

Side by Side Diff: ash/login/ui/lock_screen_test.h

Issue 2869993002: cros: Basic test infrastructure for views-based lock screen.
Patch Set: Initial upload Created 3 years, 7 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
« no previous file with comments | « ash/BUILD.gn ('k') | ash/login/ui/lock_screen_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ash/BUILD.gn ('k') | ash/login/ui/lock_screen_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698