blob: 1d5bee56ff297b74e0ac92e7d49e2c6b492c07b8 [file] [log] [blame]
// Copyright 2018 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 Test suite for the App Management page.
*/
const ROOT_PATH = '../../../../../';
GEN_INCLUDE(
[ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']);
GEN('#include "chrome/common/chrome_features.h"');
function AppManagementBrowserTest() {}
AppManagementBrowserTest.prototype = {
__proto__: PolymerTest.prototype,
browsePreload: 'chrome://apps',
extraLibraries: PolymerTest.getLibraries(ROOT_PATH),
featureList: ['features::kAppManagement', ''],
/** override */
runAccessibilityChecks: true,
};
function AppManagementAppTest() {}
AppManagementAppTest.prototype = {
__proto__: AppManagementBrowserTest.prototype,
extraLibraries: AppManagementBrowserTest.prototype.extraLibraries.concat([
'app_test.js',
]),
};
TEST_F('AppManagementAppTest', 'All', function() {
mocha.run();
});
function AppManagementMainViewTest() {}
AppManagementMainViewTest.prototype = {
__proto__: AppManagementBrowserTest.prototype,
extraLibraries: AppManagementBrowserTest.prototype.extraLibraries.concat([
'main_view_test.js',
]),
};
TEST_F('AppManagementMainViewTest', 'All', function() {
mocha.run();
});
function AppManagementReducersTest() {}
AppManagementReducersTest.prototype = {
__proto__: AppManagementBrowserTest.prototype,
extraLibraries: AppManagementBrowserTest.prototype.extraLibraries.concat([
'reducers_test.js',
]),
};
TEST_F('AppManagementReducersTest', 'All', function() {
mocha.run();
});