Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: chrome/browser/resources/chromeos/chromevox2/cvox2/background/background.chromevoxjstest

Issue 320753002: Support javascript gtests in an extension background page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WS Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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.
4
5 // Include test fixture.
6 GEN_INCLUDE(['../../../chromevox/testing/chromevox_unittest_base.js']);
7
8 /**
9 * Test fixture for cvox2.Background.
10 * @constructor
11 * @extends {ChromeVoxUnitTestBase}
12 */
13 function BackgroundTest() {}
14
15 BackgroundTest.prototype = {
16 __proto__: ChromeVoxUnitTestBase.prototype,
17
18 /** @override */
19 browsePreload: null,
20
21 /** @override */
22 closureModuleDeps: []
23 };
24
25 /** Tests ChromeVox classic is in this context. */
26 TEST_F('BackgroundTest', 'ClassicNamespaces', function() {
27 assertEquals('object', typeof(cvox));
28 assertEquals('function', typeof(cvox.ChromeVoxBackground));
29 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698