1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington/*
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington *
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * Copyright (c) 2009 Sun Microsystems Inc. All Rights Reserved
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington *
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * The contents of this file are subject to the terms
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * of the Common Development and Distribution License
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * (the License). You may not use this file except in
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * compliance with the License.
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington *
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * You can obtain a copy of the License at
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * https://opensso.dev.java.net/public/CDDLv1.0.html or
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * opensso/legal/CDDLv1.0.txt
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * See the License for the specific language governing
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * permission and limitations under the License.
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington *
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * When distributing Covered Code, include this CDDL
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * Header Notice in each file and include the License file
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * at opensso/legal/CDDLv1.0.txt.
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * If applicable, add the following below the CDDL Header,
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * with the fields enclosed by brackets [] replaced by
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * your own identifying information:
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * "Portions Copyrighted [year] [name of copyright owner]"
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington *
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington */
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington/*
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * Portions Copyrighted 2013 Syntegrity.
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington * Portions Copyrighted 2013 ForgeRock Inc.
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington */
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington/*global define, require*/
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunningtonrequire.config({
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington "packages": [{
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington name: "qunit",
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington main: "qunit-amd-1.2.0-SNAPSHOT",
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington location: "js/org/codehaus/mojo/qunit-amd/1.2.0-SNAPSHOT"
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington }]
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington});
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunningtonrequire(["org/forgerock/openam/extensions/authmodules/adaptivedeviceprint/DevicePrintInfoAggregator",
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington "qunit",
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington "org/forgerock/openam/extensions/authmodules/adaptivedeviceprint/infocollectors/ScreenInfoCollector",
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington "org/forgerock/openam/extensions/authmodules/adaptivedeviceprint/infocollectors/TimezoneCollector",
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington "org/forgerock/openam/extensions/authmodules/adaptivedeviceprint/infocollectors/BrowserPluginsCollector",
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington "org/forgerock/openam/extensions/authmodules/adaptivedeviceprint/infocollectors/GeolocationCollector",
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington ],function(cut, qu) {
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington qu.test("passing test", function() {
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington z QUnit.equals("a","a");
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington });
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington qu.test("results length test", function() {
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington var result = cut.collectInfo();
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington //QUnit.equals(result.length,1);
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington console.log(JSON.stringify(result, undefined, 2));
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington });
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington});
1067e734d6cec73ee954f2e43c1bba0e09d267cfPhill Cunnington