| 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 /** | 5 /** |
| 6 * @fileoverview Test suite for the Material Design history page. | 6 * @fileoverview Test suite for the Material Design history page. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 var ROOT_PATH = '../../../../../'; | 9 var ROOT_PATH = '../../../../../'; |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 MaterialHistoryBrowserServiceTest.prototype = { | 60 MaterialHistoryBrowserServiceTest.prototype = { |
| 61 __proto__: MaterialHistoryBrowserTest.prototype, | 61 __proto__: MaterialHistoryBrowserTest.prototype, |
| 62 | 62 |
| 63 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ | 63 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ |
| 64 'browser_service_test.js', | 64 'browser_service_test.js', |
| 65 ]), | 65 ]), |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 TEST_F('MaterialHistoryBrowserServiceTest', 'All', function() { | 68 TEST_F('MaterialHistoryBrowserServiceTest', 'All', function() { |
| 69 md_history.browser_service_test.registerTests(); | |
| 70 mocha.run(); | 69 mocha.run(); |
| 71 }); | 70 }); |
| 72 | 71 |
| 73 function MaterialHistoryDrawerTest() {} | 72 function MaterialHistoryDrawerTest() {} |
| 74 | 73 |
| 75 MaterialHistoryDrawerTest.prototype = { | 74 MaterialHistoryDrawerTest.prototype = { |
| 76 __proto__: MaterialHistoryBrowserTest.prototype, | 75 __proto__: MaterialHistoryBrowserTest.prototype, |
| 77 | 76 |
| 78 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ | 77 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ |
| 79 'history_drawer_test.js', | 78 'history_drawer_test.js', |
| 80 ]), | 79 ]), |
| 81 }; | 80 }; |
| 82 | 81 |
| 83 TEST_F('MaterialHistoryDrawerTest', 'All', function() { | 82 TEST_F('MaterialHistoryDrawerTest', 'All', function() { |
| 84 md_history.history_drawer_test.registerTests(); | |
| 85 mocha.run(); | 83 mocha.run(); |
| 86 }); | 84 }); |
| 87 | 85 |
| 88 function MaterialHistoryGroupedListTest() {} | 86 function MaterialHistoryGroupedListTest() {} |
| 89 | 87 |
| 90 MaterialHistoryGroupedListTest.prototype = { | 88 MaterialHistoryGroupedListTest.prototype = { |
| 91 __proto__: MaterialHistoryBrowserTest.prototype, | 89 __proto__: MaterialHistoryBrowserTest.prototype, |
| 92 | 90 |
| 93 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ | 91 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ |
| 94 'history_grouped_list_test.js', | 92 'history_grouped_list_test.js', |
| 95 ]), | 93 ]), |
| 96 }; | 94 }; |
| 97 | 95 |
| 98 TEST_F('MaterialHistoryGroupedListTest', 'All', function() { | 96 TEST_F('MaterialHistoryGroupedListTest', 'All', function() { |
| 99 md_history.history_grouped_list_test.registerTests(); | |
| 100 mocha.run(); | 97 mocha.run(); |
| 101 }); | 98 }); |
| 102 | 99 |
| 103 function MaterialHistoryItemTest() {} | 100 function MaterialHistoryItemTest() {} |
| 104 | 101 |
| 105 MaterialHistoryItemTest.prototype = { | 102 MaterialHistoryItemTest.prototype = { |
| 106 __proto__: MaterialHistoryBrowserTest.prototype, | 103 __proto__: MaterialHistoryBrowserTest.prototype, |
| 107 | 104 |
| 108 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ | 105 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ |
| 109 'history_item_test.js', | 106 'history_item_test.js', |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 239 |
| 243 MaterialHistoryToolbarTest.prototype = { | 240 MaterialHistoryToolbarTest.prototype = { |
| 244 __proto__: MaterialHistoryBrowserTest.prototype, | 241 __proto__: MaterialHistoryBrowserTest.prototype, |
| 245 | 242 |
| 246 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ | 243 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ |
| 247 'history_toolbar_test.js', | 244 'history_toolbar_test.js', |
| 248 ]), | 245 ]), |
| 249 }; | 246 }; |
| 250 | 247 |
| 251 TEST_F('MaterialHistoryToolbarTest', 'All', function() { | 248 TEST_F('MaterialHistoryToolbarTest', 'All', function() { |
| 252 md_history.history_toolbar_test.registerTests(); | |
| 253 mocha.run(); | 249 mocha.run(); |
| 254 }); | 250 }); |
| OLD | NEW |