gpii-universal
Version:
Cross platform, core components of the GPII personalization infrastructure.
38 lines (29 loc) • 1.13 kB
JavaScript
/**
* GPII Untrusted Flow Manager Browser Channel Tests
*
* Copyright 2013 OCAD University
* Copyright 2015 Emergya
*
* Licensed under the New BSD license. You may not use this file except in
* compliance with this License.
*
* You may obtain a copy of the License at
* https://github.com/GPII/universal/blob/master/LICENSE.txt
*/
;
var fluid = require("infusion"),
gpii = fluid.registerNamespace("gpii");
fluid.require("%gpii-universal");
gpii.loadTestingSupport();
fluid.require("%flowManager/test/shared/BrowserChannelTestDefs.js");
fluid.registerNamespace("gpii.tests.untrusted.flowManager.browserChannel");
gpii.tests.untrusted.flowManager.browserChannel.testDefs = fluid.transform(gpii.tests.flowManager.browserChannel.testDefs, function (testDefIn) {
var testDef = fluid.extend(true, {}, testDefIn, {
config: {
configName: "gpii.tests.acceptance.untrusted.browserChannel.config",
configPath: "%gpii-universal/tests/configs"
}
});
return testDef;
});
gpii.test.runCouchTestDefs(gpii.tests.untrusted.flowManager.browserChannel.testDefs);