OLD | NEW |
---|---|
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 Polymer Settings tests. */ | 5 /** @fileoverview Runs the Polymer Settings 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 1622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1633 'test_util.js', | 1633 'test_util.js', |
1634 '../test_browser_proxy.js', | 1634 '../test_browser_proxy.js', |
1635 'cups_printer_page_tests.js', | 1635 'cups_printer_page_tests.js', |
1636 ]), | 1636 ]), |
1637 }; | 1637 }; |
1638 | 1638 |
1639 TEST_F('CrSettingsPrintingPageTest', 'All', function() { | 1639 TEST_F('CrSettingsPrintingPageTest', 'All', function() { |
1640 mocha.run(); | 1640 mocha.run(); |
1641 }); | 1641 }); |
1642 | 1642 |
1643 /** | |
1644 * Test fixture for the multidevice settings page. | |
1645 * @constructor | |
1646 * @extends {CrSettingsBrowserTest} | |
1647 */ | |
1648 function CrSettingsMultidevicePageTest() {} | |
1649 | |
1650 CrSettingsMultidevicePageTest.prototype = { | |
1651 __proto__: CrSettingsBrowserTest.prototype, | |
1652 | |
1653 /** @override */ | |
1654 browsePreload: 'chrome://md-settings/multidevice_page/multidevice_page.html', | |
1655 | |
1656 /** @override */ | |
1657 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | |
1658 ROOT_PATH + 'ui/webui/resources/js/assert.js', | |
dpapad
2017/07/06 01:26:50
I don't think this is necessary. All assert method
Oren Blasberg
2017/07/06 18:17:59
Done.
| |
1659 'multidevice_page_tests.js', | |
1660 ]), | |
1661 }; | |
1662 | |
1663 TEST_F('CrSettingsMultidevicePageTest', 'All', function() { | |
1664 mocha.run(); | |
1665 }); | |
1666 | |
1643 GEN('#endif'); | 1667 GEN('#endif'); |
1644 | 1668 |
1645 GEN('#if defined(OS_CHROMEOS)'); | 1669 GEN('#if defined(OS_CHROMEOS)'); |
1646 | 1670 |
1647 /** | 1671 /** |
1648 * Test fixture for the Google Play Store (ARC) page. | 1672 * Test fixture for the Google Play Store (ARC) page. |
1649 * @constructor | 1673 * @constructor |
1650 * @extends {CrSettingsBrowserTest} | 1674 * @extends {CrSettingsBrowserTest} |
1651 */ | 1675 */ |
1652 function CrSettingsAndroidAppsPageTest() {} | 1676 function CrSettingsAndroidAppsPageTest() {} |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1711 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1735 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1712 '../test_browser_proxy.js', | 1736 '../test_browser_proxy.js', |
1713 'test_extension_control_browser_proxy.js', | 1737 'test_extension_control_browser_proxy.js', |
1714 'extension_controlled_indicator_tests.js', | 1738 'extension_controlled_indicator_tests.js', |
1715 ]), | 1739 ]), |
1716 }; | 1740 }; |
1717 | 1741 |
1718 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1742 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
1719 mocha.run(); | 1743 mocha.run(); |
1720 }); | 1744 }); |
OLD | NEW |