run.js revision 3737791d09479709b966a4bb0a42b338bf9df1dd
306763c67bb99228487345b32ab8c5c6cd41f23cChristian Maeder * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
7968d3a131e5a684ec1ff0c6d88aae638549153dChristian Maeder * Copyright 2014-2015 ForgeRock AS.
2eeec5240b424984e3ee26296da1eeab6c6d739eChristian Maeder * The contents of this file are subject to the terms
306763c67bb99228487345b32ab8c5c6cd41f23cChristian Maeder * of the Common Development and Distribution License
306763c67bb99228487345b32ab8c5c6cd41f23cChristian Maeder * (the License). You may not use this file except in
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder * compliance with the License.
679d3f541f7a9ede4079e045f7758873bb901872Till Mossakowski * You can obtain a copy of the License at
679d3f541f7a9ede4079e045f7758873bb901872Till Mossakowski * http://forgerock.org/license/CDDLv1.0.html
306763c67bb99228487345b32ab8c5c6cd41f23cChristian Maeder * See the License for the specific language governing
306763c67bb99228487345b32ab8c5c6cd41f23cChristian Maeder * permission and limitations under the License.
c83546084a1344bb2ef752b83d0e082823508db2Christian Maeder * When distributing Covered Code, include this CDDL
9248af0871ebcf3796514f8d835cb5d6ca0b0398Christian Maeder * Header Notice in each file and include the License file
c092fcac4b8f5c524c22ca579189c4487c13edf7Christian Maeder * at http://forgerock.org/license/CDDLv1.0.html
c092fcac4b8f5c524c22ca579189c4487c13edf7Christian Maeder * If applicable, add the following below the CDDL Header,
f69658e57cba7ecb37c0d84181f4c563215c2534Till Mossakowski * with the fields enclosed by brackets [] replaced by
daec53c285f692c56db0cefe16061b46ba602cf0Christian Maeder * your own identifying information:
ba904a15082557e939db689fcfba0c68c9a4f740Christian Maeder * "Portions Copyrighted [year] [name of copyright owner]"
0799b5dc3f06d2640e66e9ab54b8b217348fd719Christian Maeder/*global $, require, QUnit */
c092fcac4b8f5c524c22ca579189c4487c13edf7Christian Maeder "org/forgerock/commons/ui/common/main/EventManager",
ba904a15082557e939db689fcfba0c68c9a4f740Christian Maeder "org/forgerock/commons/ui/common/util/Constants",
ba904a15082557e939db689fcfba0c68c9a4f740Christian Maeder], function ($, EventManager, Constants, CommonTests, EditViewsTests, ListViewsTests) {
58b671de3fe578346fef9642ffa3c5a0a0edb3cbTill Mossakowski return function () {
56cd0da55d058b262b1626ddcd78db6bd9a90551Christian Maeder EventManager.registerListener(Constants.EVENT_APP_INTIALIZED, function () {
ba904a15082557e939db689fcfba0c68c9a4f740Christian Maeder $.doTimeout = function (name, time, func) {
7f7460e7095628f3437b116ee78d3043d11f8febChristian Maeder func(); // run the function immediately rather than delayed.
89ab08979dc23d72e9e09c8990a8c44847041d6fChristian Maeder require("ThemeManager").getTheme().then(function () {