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 14 matching lines...) Expand all Loading... |
25 //'clipboard_event_proto.js', // Only used by jscompiler. | 25 //'clipboard_event_proto.js', // Only used by jscompiler. |
26 'clipboard.js', | 26 'clipboard.js', |
27 'connection_history.js', | 27 'connection_history.js', |
28 'connection_stats.js', | 28 'connection_stats.js', |
29 //'cs_oauth2_trampoline.js', // Uses globals in the chrome namespace, which | 29 //'cs_oauth2_trampoline.js', // Uses globals in the chrome namespace, which |
30 // give a compilation error when declared in | 30 // give a compilation error when declared in |
31 // browser_globals for some reason. Since this | 31 // browser_globals for some reason. Since this |
32 // file's days are numbered, skip it for now. | 32 // file's days are numbered, skip it for now. |
33 'error.js', | 33 'error.js', |
34 'event_handlers.js', | 34 'event_handlers.js', |
| 35 'butter_bar.js', |
35 //'format_iq.js', // Already covered by format_iq.gtestjs | 36 //'format_iq.js', // Already covered by format_iq.gtestjs |
36 'host.js', | 37 'host.js', |
37 'host_controller.js', | 38 'host_controller.js', |
38 'host_dispatcher.js', | 39 'host_dispatcher.js', |
39 'host_list.js', | 40 'host_list.js', |
40 'host_native_messaging.js', | 41 'host_native_messaging.js', |
41 //'host_plugin_proto.js', // Only used by jscompiler | 42 //'host_plugin_proto.js', // Only used by jscompiler |
42 'host_screen.js', | 43 'host_screen.js', |
43 'host_session.js', | 44 'host_session.js', |
44 'host_setup_dialog.js', | 45 'host_setup_dialog.js', |
45 'host_table_entry.js', | 46 'host_table_entry.js', |
46 //'jscompiler_hacks.js', // Only used by jscompiler. | 47 //'jscompiler_hacks.js', // Only used by jscompiler. |
47 'l10n.js', | 48 'l10n.js', |
48 'log_to_server.js', | 49 'log_to_server.js', |
49 'menu_button.js', | 50 'menu_button.js', |
50 'oauth2_callback.js', | 51 'oauth2_callback.js', |
51 'oauth2.js', | 52 'oauth2.js', |
52 'plugin_settings.js', | 53 'plugin_settings.js', |
53 'xhr_proxy.js', | 54 'xhr_proxy.js', |
54 'remoting.js', | 55 'remoting.js', |
55 'session_connector.js', | 56 'session_connector.js', |
56 'server_log_entry.js', | 57 'server_log_entry.js', |
57 'stats_accumulator.js', | 58 'stats_accumulator.js', |
58 'storage.js', | 59 'storage.js', |
59 'survey.js', | |
60 'toolbar.js', | 60 'toolbar.js', |
61 'ui_mode.js', | 61 'ui_mode.js', |
62 //'viewer_plugin_proto.js', // Only used by jscompiler. | 62 //'viewer_plugin_proto.js', // Only used by jscompiler. |
63 //'wcs_iq_client_proto.js', // Only used by jscompiler. | 63 //'wcs_iq_client_proto.js', // Only used by jscompiler. |
64 'wcs.js', | 64 'wcs.js', |
65 'wcs_loader.js', | 65 'wcs_loader.js', |
66 'wcs_sandbox_content.js', | 66 'wcs_sandbox_content.js', |
67 'wcs_sandbox_container.js', | 67 'wcs_sandbox_container.js', |
68 'xhr.js', | 68 'xhr.js', |
69 ], | 69 ], |
70 }; | 70 }; |
71 | 71 |
72 // Basic test to verify that all the JS files load without console errors. | 72 // Basic test to verify that all the JS files load without console errors. |
73 TEST_F('AllJsLoadTest', 'TestNoConsoleErrors', function() { | 73 TEST_F('AllJsLoadTest', 'TestNoConsoleErrors', function() { |
74 assertTrue(true); | 74 assertTrue(true); |
75 }); | 75 }); |
OLD | NEW |