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

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

Issue 1204943002: Tests for Media Router media-router-container Polymer element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes per dbeam@'s comments. Created 5 years, 5 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
« no previous file with comments | « chrome/test/data/webui/media_router/media_router_container_tests.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13 matching lines...) Expand all
24 /** @override */ 24 /** @override */
25 browsePreload: 'chrome://media-router/', 25 browsePreload: 'chrome://media-router/',
26 26
27 commandLineSwitches: [{ 27 commandLineSwitches: [{
28 switchName: 'enable-media-router', 28 switchName: 'enable-media-router',
29 }], 29 }],
30 30
31 // List tests for individual elements. 31 // List tests for individual elements.
32 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 32 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
33 'issue_banner_tests.js', 33 'issue_banner_tests.js',
34 'media_router_container_tests.js',
34 'route_details_tests.js', 35 'route_details_tests.js',
35 ]), 36 ]),
36 }; 37 };
37 38
38 // Runs all tests. 39 // Runs all tests.
39 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTest', function() { 40 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTest', function() {
40 // Register mocha tests for each element. 41 // Register mocha tests for each element.
41 issue_banner.registerTests(); 42 issue_banner.registerTests();
43 media_router_container.registerTests();
42 route_details.registerTests(); 44 route_details.registerTests();
43 45
44 // Run all registered tests. 46 // Run all registered tests.
45 mocha.run(); 47 mocha.run();
46 }); 48 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/media_router/media_router_container_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698