| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 * Test fixture for loading all our JS files. | 6 * Test fixture for loading all our JS files. |
| 7 * @constructor | 7 * @constructor |
| 8 * @extends {testing.Test} | 8 * @extends {testing.Test} |
| 9 */ | 9 */ |
| 10 function AllJsLoadTest () { | 10 function AllJsLoadTest () { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 'menu_button.js', | 48 'menu_button.js', |
| 49 'oauth2_callback.js', | 49 'oauth2_callback.js', |
| 50 'oauth2.js', | 50 'oauth2.js', |
| 51 'plugin_settings.js', | 51 'plugin_settings.js', |
| 52 'xhr_proxy.js', | 52 'xhr_proxy.js', |
| 53 'remoting.js', | 53 'remoting.js', |
| 54 'session_connector.js', | 54 'session_connector.js', |
| 55 'server_log_entry.js', | 55 'server_log_entry.js', |
| 56 'stats_accumulator.js', | 56 'stats_accumulator.js', |
| 57 'storage.js', | 57 'storage.js', |
| 58 'survey.js', |
| 58 'toolbar.js', | 59 'toolbar.js', |
| 59 'ui_mode.js', | 60 'ui_mode.js', |
| 60 //'viewer_plugin_proto.js', // Only used by jscompiler. | 61 //'viewer_plugin_proto.js', // Only used by jscompiler. |
| 61 //'wcs_iq_client_proto.js', // Only used by jscompiler. | 62 //'wcs_iq_client_proto.js', // Only used by jscompiler. |
| 62 'wcs.js', | 63 'wcs.js', |
| 63 'wcs_loader.js', | 64 'wcs_loader.js', |
| 64 'wcs_sandbox_content.js', | 65 'wcs_sandbox_content.js', |
| 65 'wcs_sandbox_container.js', | 66 'wcs_sandbox_container.js', |
| 66 'xhr.js', | 67 'xhr.js', |
| 67 ], | 68 ], |
| 68 }; | 69 }; |
| 69 | 70 |
| 70 // Basic test to verify that all the JS files load without console errors. | 71 // Basic test to verify that all the JS files load without console errors. |
| 71 TEST_F('AllJsLoadTest', 'TestNoConsoleErrors', function() { | 72 TEST_F('AllJsLoadTest', 'TestNoConsoleErrors', function() { |
| 72 assertTrue(true); | 73 assertTrue(true); |
| 73 }); | 74 }); |
| OLD | NEW |