Index: ios/showcase/root/sc_root_egtest.mm |
diff --git a/ios/showcase/root/sc_root_egtest.mm b/ios/showcase/root/sc_root_egtest.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4b3c26e53a4ade9662f9edaa9bb4f99650755f64 |
--- /dev/null |
+++ b/ios/showcase/root/sc_root_egtest.mm |
@@ -0,0 +1,26 @@ |
+// 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 |
+ |
+// Tests for the root container view controller. |
+@interface SCRootTestCase : ShowcaseTestCase |
+@end |
+ |
+@implementation SCRootTestCase |
+ |
+// Tests launching RootContainerViewController. |
+- (void)testLaunch { |
+ showcase_utils::Open(@"RootContainerViewController"); |
+ showcase_utils::Close(); |
+} |
+ |
+@end |