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

Side by Side Diff: chrome/test/data/webui/cr_elements_browsertest.js

Issue 1130553002: Web component test framework (wcTest.BrowserTest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@MochaAdapter
Patch Set: Created 5 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2015 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 /** @fileoverview Runs the Chromium Polymer elements tests. */
6
7 // WebComponentTest fixture.
8 GEN_INCLUDE(['web_component_test.js']);
9
10 // Individual component tests.
11 GEN_INCLUDE([
12 'cr_checkbox_tests.js',
13 ]);
14
15 /**
16 * Test fixture for Chromium Polymer components.
17 * @constructor
18 * @extends {wcTest.BrowserTest}
19 */
20 function CrElementsBrowserTest() {}
21
22 CrElementsBrowserTest.prototype = {
23 __proto__: wcTest.BrowserTest.prototype,
24 };
25
26 // Runs all tests.
27 TEST_F('CrElementsBrowserTest', 'CrElementsTest', function() {
28 // Register Mocha tests for each component.
29 RegisterCrCheckboxTests();
30
31 // Run all registered tests.
32 mocha.run();
33 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698