| Index: chrome/test/data/webui/md_downloads/downloads_browsertest.js
|
| diff --git a/chrome/test/data/webui/md_downloads/downloads_browsertest.js b/chrome/test/data/webui/md_downloads/downloads_browsertest.js
|
| index 0f5a5a0dfdbcec1128d52665565ad4b5df3d29aa..517f0a28879850d40915daf018c3879dfaf8d2ca 100644
|
| --- a/chrome/test/data/webui/md_downloads/downloads_browsertest.js
|
| +++ b/chrome/test/data/webui/md_downloads/downloads_browsertest.js
|
| @@ -14,10 +14,10 @@ GEN_INCLUDE(
|
| /**
|
| * @constructor
|
| * @extends {PolymerTest}
|
| -*/
|
| -function DownloadsBrowserTest() {}
|
| + */
|
| +function DownloadsLayoutTest() {}
|
|
|
| -DownloadsBrowserTest.prototype = {
|
| +DownloadsLayoutTest.prototype = {
|
| __proto__: PolymerTest.prototype,
|
|
|
| /** @override */
|
| @@ -29,7 +29,28 @@ DownloadsBrowserTest.prototype = {
|
| ]),
|
| };
|
|
|
| -TEST_F('DownloadsBrowserTest', 'layoutTests', function() {
|
| - downloads.layout_tests.registerTests();
|
| +TEST_F('DownloadsLayoutTest', 'All', function() {
|
| + mocha.run();
|
| +});
|
| +
|
| +/**
|
| + * @constructor
|
| + * @extends {PolymerTest}
|
| + */
|
| +function DownloadsToolbarTest() {}
|
| +
|
| +DownloadsToolbarTest.prototype = {
|
| + __proto__: PolymerTest.prototype,
|
| +
|
| + /** @override */
|
| + browsePreload: 'chrome://downloads/toolbar.html',
|
| +
|
| + /** @override */
|
| + extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
|
| + 'toolbar_tests.js',
|
| + ]),
|
| +};
|
| +
|
| +TEST_F('DownloadsToolbarTest', 'All', function() {
|
| mocha.run();
|
| });
|
|
|