horizon/horizon/test/jasmine/jasmine_tests.py

99 lines
4.3 KiB
Python

# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from horizon.test import helpers as test
class ServicesTests(test.JasmineTests):
sources = [
'horizon/js/horizon.js',
'horizon/js/angular/horizon.conf.js',
'horizon/js/angular/horizon.js',
'horizon/js/angular/services/horizon.utils.js',
'horizon/js/angular/hz.api.module.js',
'horizon/js/angular/services/hz.api.service.js',
'horizon/js/angular/services/hz.api.config.js',
'framework/framework.module.js',
'framework/util/util.module.js',
'framework/util/bind-scope/bind-scope.js',
'framework/util/validators/validators.js',
'framework/util/workflow/workflow.js',
'framework/widgets/widgets.module.js',
'framework/widgets/action-list/action-list.js',
'framework/widgets/action-list/button-tooltip.js',
'framework/widgets/charts/charts.js',
'framework/widgets/charts/chart-tooltip.js',
'framework/widgets/charts/pie-chart.js',
'framework/widgets/form/form.js',
'framework/widgets/help-panel/help-panel.js',
'framework/widgets/login/login.js',
'framework/widgets/metadata-tree/metadata-tree.js',
'framework/widgets/metadata-tree/metadata-tree-service.js',
'framework/widgets/modal/modal.js',
'framework/widgets/modal/modal-wait-spinner.js',
'framework/widgets/table/table.js',
'framework/widgets/table/basic-table.js',
'framework/widgets/transfer-table/transfer-table.js',
'framework/widgets/wizard/wizard.js',
'framework/widgets/metadata-display/metadata-display.js',
'framework/widgets/toast/toast.js',
'framework/widgets/i18n/i18n.js',
'horizon/js/angular/filters/filters.js',
]
specs = [
'horizon/js/angular/services/hz.api.service.spec.js',
'horizon/js/angular/services/hz.api.config.spec.js',
'horizon/tests/jasmine/utils.spec.js',
'framework/util/bind-scope/bind-scope.spec.js',
'framework/util/validators/validators.spec.js',
'framework/util/workflow/workflow.spec.js',
'framework/widgets/action-list/action-list.spec.js',
'framework/widgets/charts/pie-chart.spec.js',
'framework/widgets/form/form.spec.js',
'framework/widgets/help-panel/help-panel.spec.js',
'framework/widgets/login/login.spec.js',
'framework/widgets/modal/modal.spec.js',
'framework/widgets/modal/modal-wait-spinner.spec.js',
'framework/widgets/table/table.spec.js',
'framework/widgets/table/basic-table.spec.js',
'framework/widgets/transfer-table/transfer-table.spec.js',
'framework/widgets/wizard/wizard.spec.js',
'framework/widgets/metadata-tree/metadata-tree.spec.js',
'framework/widgets/metadata-display/metadata-display.spec.js',
'framework/widgets/toast/toast.spec.js',
'framework/widgets/i18n/i18n.spec.js',
'horizon/js/angular/filters/filters.spec.js',
]
externalTemplates = [
'framework/widgets/action-list/action.html',
'framework/widgets/action-list/menu-item.html',
'framework/widgets/action-list/menu.html',
'framework/widgets/action-list/single-button.html',
'framework/widgets/action-list/split-button.html',
'framework/widgets/charts/chart-tooltip.html',
'framework/widgets/charts/pie-chart.html',
'framework/widgets/help-panel/help-panel.html',
'framework/widgets/table/search-bar.html',
'framework/widgets/transfer-table/transfer-table.html',
'framework/widgets/wizard/wizard.html',
'framework/widgets/metadata-tree/metadata-tree.html',
'framework/widgets/metadata-tree/metadata-tree-item.html',
'framework/widgets/metadata-display/metadata-display.html',
'framework/widgets/toast/toast.html',
]