| OLD | NEW |
| (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_ |
| OLD | NEW |