blob: 91ebb000e5bad7a3dfc5dbc70e178a1048ccf0f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// 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/file_path.h"
#include "chrome/browser/ui/webui/web_ui_browsertest.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/ui_test_utils.h"
#include "googleurl/src/gurl.h"
class MostVisitedWebUITest : public WebUIBrowserTest {
public:
virtual ~MostVisitedWebUITest() {}
virtual void SetUpInProcessBrowserTestFixture() {
WebUIBrowserTest::SetUpInProcessBrowserTestFixture();
AddLibrary(FilePath(FILE_PATH_LITERAL("most_visited_page_test.js")));
}
virtual void SetUpOnMainThread() {
ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUINewTabURL));
}
};
WEB_UI_UNITTEST_F(MostVisitedWebUITest, refreshDataBasic);
WEB_UI_UNITTEST_F(MostVisitedWebUITest, refreshDataOrdering);
WEB_UI_UNITTEST_F(MostVisitedWebUITest, refreshDataPinning);
|