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
3 // found in the LICENSE file.
6 * Test fixture for loading all our JS files.
8 * @extends {testing.Test}
10 function AllJsLoadTest () {
13 AllJsLoadTest.prototype = {
14 __proto__: testing.Test.prototype,
18 'browser_globals.gtestjs',
19 // All of our Javascript files should be listed here unless they are
20 // only used by JSCompiler
21 'client_plugin_async.js',
25 //'clipboard_event_proto.js', // Only used by jscompiler.
27 'connection_history.js',
28 'connection_stats.js',
29 //'cs_oauth2_trampoline.js', // Uses globals in the chrome namespace, which
30 // give a compilation error when declared in
31 // browser_globals for some reason. Since this
32 // file's days are numbered, skip it for now.
36 //'format_iq.js', // Already covered by format_iq.gtestjs
41 'host_native_messaging.js',
42 //'host_plugin_proto.js', // Only used by jscompiler
45 'host_setup_dialog.js',
46 'host_table_entry.js',
48 //'jscompiler_hacks.js', // Only used by jscompiler.
54 'paired_client_manager.js',
57 'session_connector.js',
58 'server_log_entry.js',
59 'stats_accumulator.js',
62 //'viewer_plugin_proto.js', // Only used by jscompiler.
63 //'wcs_iq_client_proto.js', // Only used by jscompiler.
66 'wcs_sandbox_content.js',
67 'wcs_sandbox_container.js',
73 // Basic test to verify that all the JS files load without console errors.
74 TEST_F('AllJsLoadTest', 'TestNoConsoleErrors', function() {