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,
19 'browser_globals.gtestjs',
20 // All of our Javascript files should be listed here unless they are
21 // only used by JSCompiler
25 //'clipboard_event_proto.js', // Only used by jscompiler.
27 'connection_stats.js',
28 //'cs_oauth2_trampoline.js', // Uses globals in the chrome namespace, which
29 // give a compilation error when declared in
30 // browser_globals for some reason. Since this
31 // file's days are numbered, skip it for now.
35 //'format_iq.js', // Already covered by format_iq.gtestjs
39 'host_it2me_dispatcher.js',
40 'host_it2me_native_messaging.js',
42 'host_native_messaging.js',
43 //'host_plugin_proto.js', // Only used by jscompiler
46 'host_setup_dialog.js',
47 'host_table_entry.js',
49 //'jscompiler_hacks.js', // Only used by jscompiler.
55 'paired_client_manager.js',
58 'session_connector.js',
59 'server_log_entry.js',
60 'smart_reconnector.js',
61 'stats_accumulator.js',
64 //'viewer_plugin_proto.js', // Only used by jscompiler.
65 //'wcs_iq_client_proto.js', // Only used by jscompiler.
68 'wcs_sandbox_content.js',
69 'wcs_sandbox_container.js',
75 // Basic test to verify that all the JS files load without console errors.
76 TEST_F('AllJsLoadTest', 'TestNoConsoleErrors', function() {