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

Unified Diff: chrome/browser/ui/webui/ntp/most_visited_browsertest.cc

Issue 1151563005: Revert of NTP Zombie Code Slayer Part IV: Most Visited (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « chrome/browser/ui/webui/app_launcher_page_ui.cc ('k') | chrome/browser/ui/webui/ntp/most_visited_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/most_visited_browsertest.cc
diff --git a/chrome/browser/ui/webui/ntp/most_visited_browsertest.cc b/chrome/browser/ui/webui/ntp/most_visited_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..363473d2603fefe71396ad6dacd611004e9afbd9
--- /dev/null
+++ b/chrome/browser/ui/webui/ntp/most_visited_browsertest.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 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.
+
+#include "base/files/file_path.h"
+#include "chrome/common/url_constants.h"
+#include "chrome/test/base/ui_test_utils.h"
+#include "chrome/test/base/web_ui_browser_test.h"
+#include "url/gurl.h"
+
+class MostVisitedWebUITest : public WebUIBrowserTest {
+ public:
+ ~MostVisitedWebUITest() override {}
+
+ void SetUpInProcessBrowserTestFixture() override {
+ WebUIBrowserTest::SetUpInProcessBrowserTestFixture();
+ AddLibrary(base::FilePath(FILE_PATH_LITERAL("most_visited_page_test.js")));
+ }
+
+ void SetUpOnMainThread() override {
+ WebUIBrowserTest::SetUpOnMainThread();
+ ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUINewTabURL));
+ }
+};
+
+// TODO(samarth): delete along with the rest of the NTP4 code.
+WEB_UI_UNITTEST_F(MostVisitedWebUITest, DISABLED_refreshDataBasic);
+WEB_UI_UNITTEST_F(MostVisitedWebUITest, DISABLED_refreshDataOrdering);
+WEB_UI_UNITTEST_F(MostVisitedWebUITest, DISABLED_refreshDataPinning);
« no previous file with comments | « chrome/browser/ui/webui/app_launcher_page_ui.cc ('k') | chrome/browser/ui/webui/ntp/most_visited_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698