Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1483ACDE9 for ; Mon, 24 Nov 2014 06:33:13 +0000 (UTC) Received: (qmail 81987 invoked by uid 500); 24 Nov 2014 06:33:13 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 81894 invoked by uid 500); 24 Nov 2014 06:33:13 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 81876 invoked by uid 99); 24 Nov 2014 06:33:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2014 06:33:12 +0000 Date: Mon, 24 Nov 2014 06:33:12 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-7896) Some tests for plugin contacts are fails for windows because methods are not supported MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-7896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222716#comment-14222716 ] ASF GitHub Bot commented on CB-7896: ------------------------------------ Github user sgrebnov commented on a diff in the pull request: https://github.com/apache/cordova-plugin-contacts/pull/49#discussion_r20774412 --- Diff: tests/tests.js --- @@ -24,8 +24,9 @@ exports.defineAutoTests = function () { // all of the setup/teardown test methods can reference the following variables to make sure to do the right cleanup var gContactObj = null, gContactId = null, - isWindowsPhone = cordova.platformId == 'windowsphone'; - + isWindowsPhone8 = cordova.platformId == 'windowsphone', + isWindows = (cordova.platformId === "windows") || (navigator.appVersion.indexOf("MSAppHost/1.0") !== -1), + isWindowsPhone81 = (navigator.appVersion.indexOf("Windows Phone 8.1;") !== -1); --- End diff -- isWindows = (cordova.platformId === "windows") || (cordova.platformId === "windows8") isWindowsPhone81 = isWIndows && WinJS.Utilities.isPhone > Some tests for plugin contacts are fails for windows because methods are not supported > -------------------------------------------------------------------------------------- > > Key: CB-7896 > URL: https://issues.apache.org/jira/browse/CB-7896 > Project: Apache Cordova > Issue Type: Test > Components: mobile-spec, Plugin Contacts, Windows > Reporter: Maria Bukharina > > Repo steps: > 1. create mobile-spec app > 2. run Plugin auto test for plugin contacts > Expected: if method doesn't siupport pending test > Actual: tests for "Find" and "Save" methods are failed -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org