| Index: chrome/test/data/webui/media_router/route_details_tests.js
|
| diff --git a/chrome/test/data/webui/media_router/route_details_tests.js b/chrome/test/data/webui/media_router/route_details_tests.js
|
| index dcab054364afd556eb40b7317709307441ca9cc8..8c7dcf0cfbf8a0a44149b01cda8e48d74d6ffcc0 100644
|
| --- a/chrome/test/data/webui/media_router/route_details_tests.js
|
| +++ b/chrome/test/data/webui/media_router/route_details_tests.js
|
| @@ -24,6 +24,12 @@ cr.define('route_details', function() {
|
| */
|
| var fakeRouteTwo;
|
|
|
| + /**
|
| + * Fake sink that corresponds to |fakeRouteOne|.
|
| + * @type {media_router.Sink}
|
| + */
|
| + var fakeSinkOne;
|
| +
|
| // Checks whether |expected| and the text in the span element in
|
| // the |elementId| element are equal.
|
| var checkSpanText = function(expected, elementId) {
|
| @@ -37,13 +43,13 @@ cr.define('route_details', function() {
|
| assertTrue(details.$['custom-controller'].hasAttribute('hidden'));
|
| };
|
|
|
| - // Checks the default route view is shown.
|
| + // Checks the start button is shown.
|
| var checkStartCastButtonIsShown = function() {
|
| assertFalse(
|
| details.$['start-casting-to-route-button'].hasAttribute('hidden'));
|
| };
|
|
|
| - // Checks the default route view is not shown.
|
| + // Checks the start button is not shown.
|
| var checkStartCastButtonIsNotShown = function() {
|
| assertTrue(
|
| details.$['start-casting-to-route-button'].hasAttribute('hidden'));
|
| @@ -61,12 +67,6 @@ cr.define('route_details', function() {
|
| assertEquals(expected, details.$[elementId].innerText);
|
| };
|
|
|
| - /**
|
| - * Fake sink that corresponds to |fakeRouteOne|.
|
| - * @type {media_router.Sink}
|
| - */
|
| - var fakeSinkOne;
|
| -
|
| // Import route_details.html before running suite.
|
| suiteSetup(function() {
|
| return PolymerTest.importHtml(
|
|
|