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

Side by Side Diff: ios/clean/chrome/browser/ui/root/root_coordinator_unittest.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 unified diff | Download patch
OLDNEW
(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 "ios/clean/chrome/browser/ui/root/root_coordinator.h"
6
7 #import "ios/clean/chrome/browser/url_opening.h"
8 #include "testing/gtest/include/gtest/gtest.h"
9
10 #if !defined(__has_feature) || !__has_feature(objc_arc)
11 #error "This file requires ARC support."
12 #endif
13
14 namespace {
15
16 // Tests that RootCoordinator conforms to the URLOpening protocol.
17 TEST(RootCoordinatorTest, TestConformsToURLOpening) {
18 EXPECT_TRUE([RootCoordinator conformsToProtocol:@protocol(URLOpening)]);
19 }
20
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,
21 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698