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.
5 /** @fileoverview Runs the Chromium Polymer elements tests. */
7 /** @const {string} Path to source root. */
8 var ROOT_PATH
= '../../../../../';
10 // Polymer BrowserTest fixture.
12 [ROOT_PATH
+ 'chrome/test/data/webui/polymer_browser_test_base.js']);
15 * Test fixture for Chromium Polymer elements.
17 * @extends {PolymerTest}
19 function CrElementsBrowserTest() {}
21 CrElementsBrowserTest
.prototype = {
22 __proto__
: PolymerTest
.prototype,
24 // List tests for individual elements.
25 extraLibraries
: PolymerTest
.getLibraries(ROOT_PATH
).concat([
26 'cr_checkbox_tests.js',
31 TEST_F('CrElementsBrowserTest', 'CrElementsTest', function() {
32 // Register mocha tests for each element.
33 cr_checkbox
.registerTests();
35 // Run all registered tests.