Chromium Code Reviews| Index: ios/showcase/text_badge_view/text_badge_view_egtest.mm |
| diff --git a/ios/showcase/text_badge_view/text_badge_view_egtest.mm b/ios/showcase/text_badge_view/text_badge_view_egtest.mm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..19a0244c3525d38439a6ee049ff671a108e91213 |
| --- /dev/null |
| +++ b/ios/showcase/text_badge_view/text_badge_view_egtest.mm |
| @@ -0,0 +1,38 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#import <EarlGrey/EarlGrey.h> |
| + |
| +#import "ios/showcase/test/showcase_eg_utils.h" |
| +#import "ios/showcase/test/showcase_test_case.h" |
| + |
| +#if !defined(__has_feature) || !__has_feature(objc_arc) |
| +#error "This file requires ARC support." |
| +#endif |
| + |
| +namespace { |
| +using ::showcase_utils::Open; |
| +using ::showcase_utils::Close; |
| +} |
| + |
| +@interface TextBadgeViewTestCase : ShowcaseTestCase |
| +@end |
| + |
| +@implementation TextBadgeViewTestCase |
| + |
| +- (void)setUp { |
| + [super setUp]; |
| + Open(@"TextBadgeView"); |
|
edchin
2017/07/07 04:38:04
Please just put the open and close directly
into
helenlyang
2017/07/07 16:31:12
Done.
|
| +} |
| + |
| +- (void)tearDown { |
| + Close(); |
| + [super tearDown]; |
| +} |
| + |
| +// Tests that the accessibility label matches the display text. |
| +- (void)testTextBadgeAccessibilityLabel { |
| +} |
| + |
| +@end |