You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/11/26 01:32:44 UTC
spec commit: CB-10083 - Disable whitelist tests for iOS in mobile-spec
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 <sh...@apache.org>
Authored: Wed Nov 25 16:32:39 2015 -0800
Committer: Shazron Abdullah <sh...@apache.org>
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