Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 149D918828 for ; Thu, 26 Nov 2015 00:32:45 +0000 (UTC) Received: (qmail 2321 invoked by uid 500); 26 Nov 2015 00:32:45 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 2307 invoked by uid 500); 26 Nov 2015 00:32:44 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 2298 invoked by uid 99); 26 Nov 2015 00:32:44 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 00:32:44 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C7B89E0019; Thu, 26 Nov 2015 00:32:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Message-Id: <77762ec1412d42efa6fc769512c34a53@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: spec commit: CB-10083 - Disable whitelist tests for iOS in mobile-spec Date: Thu, 26 Nov 2015 00:32:44 +0000 (UTC) Repository: cordova-mobile-spec Updated Branches: refs/heads/master adfeb49a6 -> 80d9808e3 CB-10083 - Disable whitelist tests for iOS in mobile-spec Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/80d9808e Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/80d9808e Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/80d9808e Branch: refs/heads/master Commit: 80d9808e3aae31361fb880a49c96edc7f89b7613 Parents: adfeb49 Author: Shazron Abdullah Authored: Wed Nov 25 16:32:39 2015 -0800 Committer: Shazron Abdullah Committed: Wed Nov 25 16:32:39 2015 -0800 ---------------------------------------------------------------------- cordova-plugin-mobilespec-tests/tests/whitelist.tests.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/80d9808e/cordova-plugin-mobilespec-tests/tests/whitelist.tests.js ---------------------------------------------------------------------- diff --git a/cordova-plugin-mobilespec-tests/tests/whitelist.tests.js b/cordova-plugin-mobilespec-tests/tests/whitelist.tests.js index e88d4fb..90a660c 100644 --- a/cordova-plugin-mobilespec-tests/tests/whitelist.tests.js +++ b/cordova-plugin-mobilespec-tests/tests/whitelist.tests.js @@ -1,4 +1,4 @@ -/* +cordova.define("org.apache.cordova.mobilespec.tests.whitelist.tests", function(require, exports, module) { /* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -23,6 +23,7 @@ exports.defineAutoTests = function () { var isWindowsPhone = cordova.platformId == 'windowsphone'; var isWindows = (cordova.platformId === "windows") || (cordova.platformId === "windows8") + var isIOS = (cordova.platformId === "ios"); describe('Whitelist API (cordova.whitelist)', function () { @@ -43,7 +44,7 @@ exports.defineAutoTests = function () { var originalTimeout, cb; - if (isWindows || isWindowsPhone) { + if (isWindows || isWindowsPhone || isIOS) { pending(); } @@ -153,7 +154,7 @@ exports.defineAutoTests = function () { description = description || ((result ? "should accept " : "should reject ") + url); describe("Test function", function () { - if (isWindows || isWindowsPhone) { + if (isWindows || isWindowsPhone || isIOS) { pending(); } @@ -206,3 +207,5 @@ exports.defineAutoTests = function () { }); }); } + +}); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org