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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 'menu_button.js', | 47 'menu_button.js', |
48 'oauth2_callback.js', | 48 'oauth2_callback.js', |
49 'oauth2.js', | 49 'oauth2.js', |
50 'plugin_settings.js', | 50 'plugin_settings.js', |
51 'xhr_proxy.js', | 51 'xhr_proxy.js', |
52 'remoting.js', | 52 'remoting.js', |
53 'session_connector.js', | 53 'session_connector.js', |
54 'server_log_entry.js', | 54 'server_log_entry.js', |
55 'stats_accumulator.js', | 55 'stats_accumulator.js', |
56 'storage.js', | 56 'storage.js', |
| 57 'survey.js', |
57 'toolbar.js', | 58 'toolbar.js', |
58 'ui_mode.js', | 59 'ui_mode.js', |
59 //'viewer_plugin_proto.js', // Only used by jscompiler. | 60 //'viewer_plugin_proto.js', // Only used by jscompiler. |
60 //'wcs_iq_client_proto.js', // Only used by jscompiler. | 61 //'wcs_iq_client_proto.js', // Only used by jscompiler. |
61 'wcs.js', | 62 'wcs.js', |
62 'wcs_loader.js', | 63 'wcs_loader.js', |
63 'wcs_sandbox_content.js', | 64 'wcs_sandbox_content.js', |
64 'wcs_sandbox_container.js', | 65 'wcs_sandbox_container.js', |
65 'xhr.js', | 66 'xhr.js', |
66 ], | 67 ], |
67 }; | 68 }; |
68 | 69 |
69 // Basic test to verify that all the JS files load without console errors. | 70 // Basic test to verify that all the JS files load without console errors. |
70 TEST_F('AllJsLoadTest', 'TestNoConsoleErrors', function() { | 71 TEST_F('AllJsLoadTest', 'TestNoConsoleErrors', function() { |
71 assertTrue(true); | 72 assertTrue(true); |
72 }); | 73 }); |
OLD | NEW |