Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: ios/showcase/text_badge_view/sc_text_badge_view_egtest.mm

Issue 2967113003: [ios showcase] Integrated TextBadgeView with Showcase. (Closed)
Patch Set: Added SC prefix, centered text badge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/showcase/text_badge_view/sc_text_badge_view_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/showcase/text_badge_view/sc_text_badge_view_egtest.mm
diff --git a/ios/showcase/text_badge_view/sc_text_badge_view_egtest.mm b/ios/showcase/text_badge_view/sc_text_badge_view_egtest.mm
new file mode 100644
index 0000000000000000000000000000000000000000..b9fb9a3f466ac29e3f83696ced2ac8a12aaaab71
--- /dev/null
+++ b/ios/showcase/text_badge_view/sc_text_badge_view_egtest.mm
@@ -0,0 +1,30 @@
+// 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
+
+// Tests that the accessibility label matches the display text.
+- (void)testTextBadgeAccessibilityLabel {
+ Open(@"TextBadgeView");
+ Close();
+}
+
+@end
« no previous file with comments | « ios/showcase/text_badge_view/sc_text_badge_view_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698