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

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

Issue 2238163002: [MD History] Add UMA stats for switching views and the CBD button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@start_focus_in_search_bar
Patch Set: rebase, vulcanize Created 4 years, 4 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Test suite for the Material Design history page. 6 * @fileoverview Test suite for the Material Design history page.
7 */ 7 */
8 8
9 var ROOT_PATH = '../../../../../'; 9 var ROOT_PATH = '../../../../../';
10 10
(...skipping 15 matching lines...) Expand all
26 /** @override */ 26 /** @override */
27 runAccessibilityChecks: false, 27 runAccessibilityChecks: false,
28 28
29 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 29 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
30 'test_util.js', 30 'test_util.js',
31 'browser_service_test.js', 31 'browser_service_test.js',
32 'history_drawer_test.js', 32 'history_drawer_test.js',
33 'history_grouped_list_test.js', 33 'history_grouped_list_test.js',
34 'history_item_test.js', 34 'history_item_test.js',
35 'history_list_test.js', 35 'history_list_test.js',
36 'history_metrics_test.js',
36 'history_overflow_menu_test.js', 37 'history_overflow_menu_test.js',
37 'history_routing_test.js', 38 'history_routing_test.js',
38 'history_supervised_user_test.js', 39 'history_supervised_user_test.js',
39 'history_synced_tabs_test.js', 40 'history_synced_tabs_test.js',
40 'history_toolbar_test.js', 41 'history_toolbar_test.js',
41 'lazy_render_test.js' 42 'lazy_render_test.js'
42 ]), 43 ]),
43 44
44 /** @override */ 45 /** @override */
45 setUp: function() { 46 setUp: function() {
(...skipping 26 matching lines...) Expand all
72 TEST_F('MaterialHistoryBrowserTest', 'HistoryItemTest', function() { 73 TEST_F('MaterialHistoryBrowserTest', 'HistoryItemTest', function() {
73 md_history.history_item_test.registerTests(); 74 md_history.history_item_test.registerTests();
74 mocha.run(); 75 mocha.run();
75 }); 76 });
76 77
77 TEST_F('MaterialHistoryBrowserTest', 'HistoryListTest', function() { 78 TEST_F('MaterialHistoryBrowserTest', 'HistoryListTest', function() {
78 md_history.history_list_test.registerTests(); 79 md_history.history_list_test.registerTests();
79 mocha.run(); 80 mocha.run();
80 }); 81 });
81 82
83 TEST_F('MaterialHistoryBrowserTest', 'HistoryMetricsTest', function() {
tsergeant 2016/08/17 06:03:10 Nit: For new tests, I've been leaving out the Hist
calamity 2016/08/18 03:11:15 Done.
84 md_history.history_metrics_test.registerTests();
85 mocha.run();
86 });
87
82 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { 88 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() {
83 md_history.history_toolbar_test.registerTests(); 89 md_history.history_toolbar_test.registerTests();
84 mocha.run(); 90 mocha.run();
85 }); 91 });
86 92
87 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarFocusTest', function() { 93 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarFocusTest', function() {
88 md_history.history_toolbar_focus_test.registerTests(); 94 md_history.history_toolbar_focus_test.registerTests();
89 mocha.run(); 95 mocha.run();
90 }); 96 });
91 97
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 return waitForAppUpgrade(); 158 return waitForAppUpgrade();
153 }); 159 });
154 }, 160 },
155 }; 161 };
156 162
157 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam', 163 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam',
158 function() { 164 function() {
159 md_history.history_routing_test_with_query_param.registerTests(); 165 md_history.history_routing_test_with_query_param.registerTests();
160 mocha.run(); 166 mocha.run();
161 }); 167 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698