| Index: chrome/test/data/webui/cr_elements_browsertest.js
|
| diff --git a/chrome/test/data/webui/cr_elements_browsertest.js b/chrome/test/data/webui/cr_elements_browsertest.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..93cb21606bbaef31ddf92bbf860ecb8a0fb68231
|
| --- /dev/null
|
| +++ b/chrome/test/data/webui/cr_elements_browsertest.js
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +/** @fileoverview Runs the Chromium Polymer elements tests. */
|
| +
|
| +// WebComponentTest fixture.
|
| +GEN_INCLUDE(['web_component_test.js']);
|
| +
|
| +// Individual component tests.
|
| +GEN_INCLUDE([
|
| + 'cr_checkbox_tests.js',
|
| +]);
|
| +
|
| +/**
|
| + * Test fixture for Chromium Polymer components.
|
| + * @constructor
|
| + * @extends {wcTest.BrowserTest}
|
| +*/
|
| +function CrElementsBrowserTest() {}
|
| +
|
| +CrElementsBrowserTest.prototype = {
|
| + __proto__: wcTest.BrowserTest.prototype,
|
| +};
|
| +
|
| +// Runs all tests.
|
| +TEST_F('CrElementsBrowserTest', 'CrElementsTest', function() {
|
| + // Register Mocha tests for each component.
|
| + RegisterCrCheckboxTests();
|
| +
|
| + // Run all registered tests.
|
| + mocha.run();
|
| +});
|
|
|