Skip to content
Permalink
Browse files
CB-10083 - Disable whitelist tests for iOS in mobile-spec
  • Loading branch information
shazron committed Nov 26, 2015
1 parent adfeb49 commit 80d9808e3aae31361fb880a49c96edc7f89b7613
Showing 1 changed file with 6 additions and 3 deletions.
@@ -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 () {
});
});
}

});

0 comments on commit 80d9808

Please sign in to comment.