| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <EarlGrey/EarlGrey.h> | 5 #import <EarlGrey/EarlGrey.h> |
| 6 | 6 |
| 7 #import "ios/showcase/test/showcase_eg_utils.h" | 7 #import "ios/showcase/test/showcase_eg_utils.h" |
| 8 #import "ios/showcase/test/showcase_test_case.h" | 8 #import "ios/showcase/test/showcase_test_case.h" |
| 9 | 9 |
| 10 #if !defined(__has_feature) || !__has_feature(objc_arc) | 10 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 11 #error "This file requires ARC support." | 11 #error "This file requires ARC support." |
| 12 #endif | 12 #endif |
| 13 | 13 |
| 14 // Tests for the tab container view controller. | 14 // Tests for the tab container view controller. |
| 15 @interface SCTabTestCase : ShowcaseTestCase | 15 @interface SCTabTestCase : ShowcaseTestCase |
| 16 @end | 16 @end |
| 17 | 17 |
| 18 @implementation SCTabTestCase | 18 @implementation SCTabTestCase |
| 19 | 19 |
| 20 // Tests launching TopToolbarTabViewController. | 20 // Tests launching TopToolbarTabViewController. |
| 21 - (void)testLaunchWithTopToolbar { | 21 // TODO(crbug.com/710662): re-enable this test. |
| 22 - (void)FLAKY_testLaunchWithTopToolbar { |
| 22 showcase_utils::Open(@"TopToolbarTabViewController"); | 23 showcase_utils::Open(@"TopToolbarTabViewController"); |
| 23 showcase_utils::Close(); | 24 showcase_utils::Close(); |
| 24 } | 25 } |
| 25 | 26 |
| 26 // Tests launching BottomToolbarTabViewController. | 27 // Tests launching BottomToolbarTabViewController. |
| 27 - (void)testLaunchWithBottomToolbar { | 28 // TODO(crbug.com/710662): re-enable this test. |
| 29 - (void)FLAKY_testLaunchWithBottomToolbar { |
| 28 showcase_utils::Open(@"BottomToolbarTabViewController"); | 30 showcase_utils::Open(@"BottomToolbarTabViewController"); |
| 29 showcase_utils::Close(); | 31 showcase_utils::Close(); |
| 30 } | 32 } |
| 31 | 33 |
| 32 @end | 34 @end |
| OLD | NEW |