c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel/**
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * The contents of this file are subject to the terms of the Common Development and
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * Distribution License (the License). You may not use this file except in compliance with the
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * License.
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel *
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * specific language governing permission and limitations under the License.
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel *
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * When distributing Covered Software, include this CDDL Header Notice in each file and include
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * Header, with the fields enclosed by brackets [] replaced by your own identifying
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * information: "Portions copyright [year] [name of copyright owner]".
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel *
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley * Copyright 2014-2015 ForgeRock AS.
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel */
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel/*global require, define, QUnit, $ */
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feaseldefine([
75d0e6897931d0d08f4d64dc1420ce03576b49cbJake Feasel "org/forgerock/commons/ui/common/main/Configuration",
d1a2899a06be1eab885056aeda85adcd67c010b0Jason Browne "./managedobjects/managedObjectsTest",
d1a2899a06be1eab885056aeda85adcd67c010b0Jason Browne "./resources/resourceTest",
433f48af5998e03a03440dce699c9dcfd7b86375Jason Browne "./mapping/addMappingTest",
540772c380f0a368687ce285f9b915e0affec03dhuck.elliott "./mapping/reconTests",
d64a1b8fb5da22f61ec70398ba83a80b8efa46a2Jason Browne "./mapping/propertyMappingTest",
67c044a145fa1987d77d3f609876a839b0240ed0Jason Browne "./mapping/correlationTest",
e3cca5e1f9f9a55839d4bd7d34f51145f835a7b8Jason Browne "./mapping/linkQualifierTest",
67c044a145fa1987d77d3f609876a839b0240ed0Jason Browne "./connector/editConnectorTest",
08b5793948544288f007d40b3391a6f69e2aeb07huck.elliott "./connector/addConnectorTest",
08b5793948544288f007d40b3391a6f69e2aeb07huck.elliott "./resourceData/editResourceViewTest"
75d0e6897931d0d08f4d64dc1420ce03576b49cbJake Feasel], function (Configuration, moTest, resourceTest, addMappingTest, reconTests, propertyMappingTest, correlationTest, linkQualifierTest, editConnectorTest, addConnectorTest, editResourceViewTest) {
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel return {
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel executeAll: function (server) {
d1e25a21be0403ed5f4ea45f589a3956592befd9Jake Feasel
d1e25a21be0403ed5f4ea45f589a3956592befd9Jake Feasel QUnit.testStart(function (testDetails) {
d1e25a21be0403ed5f4ea45f589a3956592befd9Jake Feasel var lqu = require("org/forgerock/openidm/ui/admin/util/LinkQualifierUtils"),
d1e25a21be0403ed5f4ea45f589a3956592befd9Jake Feasel connectorDelegate = require("org/forgerock/openidm/ui/admin/delegates/ConnectorDelegate");
d1e25a21be0403ed5f4ea45f589a3956592befd9Jake Feasel connectorDelegate.deleteCurrentConnectorsCache();
d1e25a21be0403ed5f4ea45f589a3956592befd9Jake Feasel lqu.model.linkQualifier = [];
75d0e6897931d0d08f4d64dc1420ce03576b49cbJake Feasel Configuration.loggedUser = { "userName": "openidm-admin", "roles": ["ui-admin"] }
d1e25a21be0403ed5f4ea45f589a3956592befd9Jake Feasel });
d1e25a21be0403ed5f4ea45f589a3956592befd9Jake Feasel
c6acaf789531718f174a4fc5b87aaed163b861dbJason Browne QUnit.moduleDone(function() {
c6acaf789531718f174a4fc5b87aaed163b861dbJason Browne $(".bootstrap-dialog").remove();
c6acaf789531718f174a4fc5b87aaed163b861dbJason Browne });
e217869edbae075c18fd85c2d468a7ce9050b3b3Jake Feasel
c6acaf789531718f174a4fc5b87aaed163b861dbJason Browne addMappingTest.executeAll(server);
d1a2899a06be1eab885056aeda85adcd67c010b0Jason Browne resourceTest.executeAll(server);
7ed4684789d023e1d4ede1b0d4468b9724587466Elizabeth Browne reconTests.executeAll(server);
d64a1b8fb5da22f61ec70398ba83a80b8efa46a2Jason Browne correlationTest.executeAll(server);
e3cca5e1f9f9a55839d4bd7d34f51145f835a7b8Jason Browne linkQualifierTest.executeAll(server);
c6acaf789531718f174a4fc5b87aaed163b861dbJason Browne moTest.executeAll(server);
c6acaf789531718f174a4fc5b87aaed163b861dbJason Browne propertyMappingTest.executeAll(server);
67c044a145fa1987d77d3f609876a839b0240ed0Jason Browne editConnectorTest.executeAll(server);
67c044a145fa1987d77d3f609876a839b0240ed0Jason Browne addConnectorTest.executeAll(server);
08b5793948544288f007d40b3391a6f69e2aeb07huck.elliott editResourceViewTest.executeAll(server);
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel }
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel };
01a229e011c0d84be34e967cf517d35a476c541aJake Feasel});