Index: ios/clean/chrome/browser/ui/root/root_coordinator_unittest.mm |
diff --git a/ios/clean/chrome/browser/ui/root/root_coordinator_unittest.mm b/ios/clean/chrome/browser/ui/root/root_coordinator_unittest.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..db6a92a38204bd29c585ae835e65744b8d1a8944 |
--- /dev/null |
+++ b/ios/clean/chrome/browser/ui/root/root_coordinator_unittest.mm |
@@ -0,0 +1,21 @@ |
+// 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 "ios/clean/chrome/browser/ui/root/root_coordinator.h" |
+ |
+#import "ios/clean/chrome/browser/url_opening.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
+ |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
+namespace { |
+ |
+// Tests that RootCoordinator conforms to the URLOpening protocol. |
+TEST(RootCoordinatorTest, TestConformsToURLOpening) { |
+ EXPECT_TRUE([RootCoordinator conformsToProtocol:@protocol(URLOpening)]); |
+} |
+ |
lpromero
2017/04/12 08:58:49
You could add a test that starting the coordinator
edchin
2017/04/13 07:39:15
In order to test the coordinator's start method,
|
+} // namespace |