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

Unified Diff: ios/showcase/root/sc_root_egtest.mm

Issue 2800313002: [ios] RootCoordinator and view controller. (Closed)
Patch Set: Unittests, showcase, and clean up. Created 3 years, 8 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
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

Powered by Google App Engine
This is Rietveld 408576698