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

Side by Side Diff: chrome/test/data/webui/md_history/md_history_browsertest.js

Issue 1572383006: MD History: Hook all elements into the page and add tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patch
Patch Set: Rebase. Created 4 years, 10 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 2015 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 /**
6 * @fileoverview Test suite for the Material Design history page.
7 */
8
9 var ROOT_PATH = '../../../../../';
10
11 GEN_INCLUDE(
12 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']);
13
14 function MaterialHistoryBrowserTest() {}
15
16 MaterialHistoryBrowserTest.prototype = {
17 __proto__: PolymerTest.prototype,
18
19 browsePreload: 'chrome://history',
20
21 commandLineSwitches: [{switchName: 'enable-md-history'}],
22
23 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
24 'test_util.js',
25 'history_card_manager_test.js',
26 'history_card_test.js',
27 'history_overflow_menu_test.js',
28 'history_toolbar_test.js'
29 ])
30 };
31
32 TEST_F('MaterialHistoryBrowserTest', 'HistoryCardTest', function() {
33 md_history.history_card_test.registerTests();
34 mocha.run();
35 });
36
37 TEST_F('MaterialHistoryBrowserTest', 'HistoryCardManagerTest', function() {
38 md_history.history_card_manager_test.registerTests();
39 mocha.run();
40 });
41
42 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() {
43 md_history.history_toolbar_test.registerTests();
44 mocha.run();
45 });
46
47 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() {
48 md_history.history_overflow_menu_test.registerTests();
49 mocha.run();
50 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/md_history/history_toolbar_test.js ('k') | chrome/test/data/webui/md_history/test_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698