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

Side by Side Diff: chrome/test/data/webui/media_router/media_router_elements_browsertest.js

Issue 1805813002: [Media Router] Wiring for searching route providers for new sinks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clarifying pseudo sink comments Created 4 years, 8 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 /** @fileoverview Runs the Media Router Polymer elements tests. */ 5 /** @fileoverview Runs the Media Router Polymer elements tests. */
6 6
7 /** @const {string} Path to source root. */ 7 /** @const {string} Path to source root. */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 // Polymer BrowserTest fixture. 10 // Polymer BrowserTest fixture.
(...skipping 25 matching lines...) Expand all
36 36
37 // List tests for individual elements. The media-router-container tests are 37 // List tests for individual elements. The media-router-container tests are
38 // split between several files and use common functionality from 38 // split between several files and use common functionality from
39 // media_router_container_test_base.js. 39 // media_router_container_test_base.js.
40 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 40 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
41 'issue_banner_tests.js', 41 'issue_banner_tests.js',
42 'media_router_container_cast_mode_list_tests.js', 42 'media_router_container_cast_mode_list_tests.js',
43 'media_router_container_filter_tests.js', 43 'media_router_container_filter_tests.js',
44 'media_router_container_first_run_flow_tests.js', 44 'media_router_container_first_run_flow_tests.js',
45 'media_router_container_route_tests.js', 45 'media_router_container_route_tests.js',
46 'media_router_container_search_tests.js',
46 'media_router_container_sink_list_tests.js', 47 'media_router_container_sink_list_tests.js',
47 'media_router_container_test_base.js', 48 'media_router_container_test_base.js',
48 'media_router_header_tests.js', 49 'media_router_header_tests.js',
49 'media_router_search_highlighter_tests.js', 50 'media_router_search_highlighter_tests.js',
50 'route_details_tests.js', 51 'route_details_tests.js',
51 ]), 52 ]),
52 53
53 /** @override */ 54 /** @override */
54 setUp: function() { 55 setUp: function() {
55 PolymerTest.prototype.setUp.call(this); 56 PolymerTest.prototype.setUp.call(this);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 }); 95 });
95 96
96 TEST_F('MediaRouterElementsBrowserTest', 97 TEST_F('MediaRouterElementsBrowserTest',
97 'MediaRouterContainerRoute', 98 'MediaRouterContainerRoute',
98 function() { 99 function() {
99 media_router_container_route.registerTests(); 100 media_router_container_route.registerTests();
100 mocha.run(); 101 mocha.run();
101 }); 102 });
102 103
103 TEST_F('MediaRouterElementsBrowserTest', 104 TEST_F('MediaRouterElementsBrowserTest',
105 'MediaRouterContainerSearch',
106 function() {
107 media_router_container_search.registerTests();
108 mocha.run();
109 });
110
111 TEST_F('MediaRouterElementsBrowserTest',
104 'MediaRouterContainerSinkList', 112 'MediaRouterContainerSinkList',
105 function() { 113 function() {
106 media_router_container_sink_list.registerTests(); 114 media_router_container_sink_list.registerTests();
107 mocha.run(); 115 mocha.run();
108 }); 116 });
109 117
110 TEST_F('MediaRouterElementsBrowserTest', 118 TEST_F('MediaRouterElementsBrowserTest',
111 'MediaRouterContainerFilter', 119 'MediaRouterContainerFilter',
112 function() { 120 function() {
113 media_router_container_filter.registerTests(); 121 media_router_container_filter.registerTests();
114 mocha.run(); 122 mocha.run();
115 }); 123 });
116 124
117 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterHeader', function() { 125 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterHeader', function() {
118 media_router_header.registerTests(); 126 media_router_header.registerTests();
119 mocha.run(); 127 mocha.run();
120 }); 128 });
121 129
122 TEST_F('MediaRouterElementsBrowserTest', 130 TEST_F('MediaRouterElementsBrowserTest',
123 'MediaRouterSearchHighlighter', 131 'MediaRouterSearchHighlighter',
124 function() { 132 function() {
125 media_router_search_highlighter.registerTests(); 133 media_router_search_highlighter.registerTests();
126 mocha.run(); 134 mocha.run();
127 }); 135 });
128 136
129 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterRouteDetails', function() { 137 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterRouteDetails', function() {
130 route_details.registerTests(); 138 route_details.registerTests();
131 mocha.run(); 139 mocha.run();
132 }); 140 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698