Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / webui / ntp / most_visited_browsertest.cc
blobf3a90c4eeef5f15a78895a4b584d38100faeb137
1 // Copyright (c) 2011 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/files/file_path.h"
6 #include "chrome/common/url_constants.h"
7 #include "chrome/test/base/ui_test_utils.h"
8 #include "chrome/test/base/web_ui_browsertest.h"
9 #include "url/gurl.h"
11 class MostVisitedWebUITest : public WebUIBrowserTest {
12 public:
13 virtual ~MostVisitedWebUITest() {}
15 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
16 WebUIBrowserTest::SetUpInProcessBrowserTestFixture();
17 AddLibrary(base::FilePath(FILE_PATH_LITERAL("most_visited_page_test.js")));
20 virtual void SetUpOnMainThread() OVERRIDE {
21 WebUIBrowserTest::SetUpOnMainThread();
22 ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUINewTabURL));
26 // TODO(samarth): delete along with the rest of the NTP4 code.
27 WEB_UI_UNITTEST_F(MostVisitedWebUITest, DISABLED_refreshDataBasic);
28 WEB_UI_UNITTEST_F(MostVisitedWebUITest, DISABLED_refreshDataOrdering);
29 WEB_UI_UNITTEST_F(MostVisitedWebUITest, DISABLED_refreshDataPinning);