1 // Copyright 2014 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.
5 #include "base/logging.h"
6 #include "ios/web/navigation/navigation_manager_impl.h"
7 #include "ios/web/public/test/test_browser_state.h"
8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "testing/gtest_mac.h"
10 #include "testing/platform_test.h"
15 class NavigationManagerTest : public PlatformTest {
17 void SetUp() override {
18 manager_.reset(new NavigationManagerImpl(NULL, &browser_state_));
20 scoped_ptr<NavigationManagerImpl> manager_;
21 TestBrowserState browser_state_;
24 // TODO(stuartmorgan): Remove this once NavigationManager has actual
25 // functionality to test, instead of just being pass-throughs.
26 TEST_F(NavigationManagerTest, Dummy) {
27 EXPECT_FALSE(manager_->CanGoBack());
28 EXPECT_FALSE(manager_->CanGoForward());