| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #import <EarlGrey/EarlGrey.h> | |
| 6 | |
| 7 #import "ios/showcase/test/showcase_eg_utils.h" | |
| 8 #import "ios/showcase/test/showcase_test_case.h" | |
| 9 | |
| 10 #if !defined(__has_feature) || !__has_feature(objc_arc) | |
| 11 #error "This file requires ARC support." | |
| 12 #endif | |
| 13 | |
| 14 namespace { | |
| 15 using ::showcase_utils::Open; | |
| 16 using ::showcase_utils::Close; | |
| 17 } | |
| 18 | |
| 19 @interface TextBadgeViewTestCase : ShowcaseTestCase | |
| 20 @end | |
| 21 | |
| 22 @implementation TextBadgeViewTestCase | |
| 23 | |
| 24 // Tests that the accessibility label matches the display text. | |
| 25 - (void)testTextBadgeAccessibilityLabel { | |
| 26 Open(@"TextBadgeView"); | |
| 27 Close(); | |
| 28 } | |
| 29 | |
| 30 @end | |
| OLD | NEW |