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

Side by Side Diff: chrome/test/base/invoke_ui_browser_test.h

Issue 2382963002: Views: Add two disabled tests for invoking the CC unmask prompt dialog. (Closed)
Patch Set: Initial approach for invoking UI tests. Created 4 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_BASE_INVOKE_UI_BROWSER_TEST_H_
6 #define CHROME_TEST_BASE_INVOKE_UI_BROWSER_TEST_H_
7
8 namespace base {
9 class CommandLine;
10 }
11
12 class InvokeUIBrowserTest {
tapted 2016/10/13 00:53:34 I'd probably have this inherit from InProcessBrows
Patti Lor 2016/10/13 05:39:21 Deleted this as per your other comments.
13
14 public:
15
16 // Call in SetCommandLineFlags(). Extends the default timeout to an
17 // "almost-infinite" number to avoid the UI closing unexpectedly.
18 void SetCommandLineFlags(base::CommandLine* command_line);
tapted 2016/10/13 00:53:34 This this can override SetUpCommandLine and check
Patti Lor 2016/10/13 05:39:21 Did you have something in mind for fixing the time
tapted 2016/10/16 23:48:01 I think we can make a python script to collect all
Patti Lor 2016/10/17 23:26:08 Ah ok, I didn't realise you had a separate thing i
19
20 // Call before the default SetUp() method. On Mac, this will allow the process
21 // to get keyboard focus so that UI can be interacted with using the keyboard.
22 void BeforeSetUp();
23
24 // Call before the default TearDownOnMainThread(). Starts a runloop so
25 // that tests won't close on finishing.
26 void BeforeTearDownOnMainThread();
27
28 };
29
30 #endif // CHROME_TEST_BASE_INVOKE_UI_BROWSER_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698