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_TEST_EARL_GREY_CHROME_ASSERTIONS_H_ |
| 6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_ASSERTIONS_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 |
| 10 namespace chrome_test_util { |
| 11 |
| 12 // Generates a failure if the actual number of non-incognito tabs is different |
| 13 // from |expected_tab_count|. |
| 14 void AssertMainTabCount(NSUInteger expected_tab_count); |
| 15 |
| 16 // Generates a failure if the actual number of incognito tabs is different from |
| 17 // |expected_tab_count|. |
| 18 void AssertIncognitoTabCount(NSUInteger expected_tab_count); |
| 19 |
| 20 } // namespace chrome_test_util |
| 21 |
| 22 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_ASSERTIONS_H_ |
OLD | NEW |