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

Side by Side Diff: ios/chrome/app/tests_hook.h

Issue 2557613004: [ios] Adds test hooks to enable/disable functionality while testing. (Closed)
Patch Set: Created 4 years 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 | « ios/chrome/app/tests_fake_hook.mm ('k') | no next file » | 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 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 IOS_CHROME_APP_TESTS_HOOK_H_
6 #define IOS_CHROME_APP_TESTS_HOOK_H_
7
8 namespace tests_hook {
9
10 // Returns true if contextual search should be disabled to allow other tests
11 // to run unimpeded.
12 bool DisableContextualSearch();
13
14 // Returns true if the first_run path should be disabled to allow other tests to
15 // run unimpeded.
16 bool DisableFirstRun();
17
18 // Returns true if the signin recall promo should be disabled to allow other
19 // tests to run unimpeded.
20 bool DisableSigninRecallPromo();
21
22 // Returns true if the update service should be disabled so that the update
23 // infobar won't be shown during testing.
24 bool DisableUpdateService();
25
26 // Global integration tests setup. This is not used by EarlGrey-based
27 // integration tests.
28 void SetUpTestsIfPresent();
29
30 // Runs the integration tests. This is not used by EarlGrey-based integration
31 // tests.
32 void RunTestsIfPresent();
33
34 } // namespace tests_hook
35
36 #endif // IOS_CHROME_APP_TESTS_HOOK_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/tests_fake_hook.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698