You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2015/09/07 17:49:45 UTC
[jira] [Closed] (CB-9579) contacts.spec.24 fails if there is
already "DeleteMe" contact(s) present on device
[ https://issues.apache.org/jira/browse/CB-9579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Sorokin closed CB-9579.
---------------------------------
Resolution: Fixed
> contacts.spec.24 fails if there is already "DeleteMe" contact(s) present on device
> ----------------------------------------------------------------------------------
>
> Key: CB-9579
> URL: https://issues.apache.org/jira/browse/CB-9579
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Contacts
> Affects Versions: Master
> Reporter: Alexander Sorokin
> Assignee: Alexander Sorokin
>
> 1. Create a contact with "DeleteMe" name
> 2. Run contacts tests
> {noformat}
> cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) Round trip Contact tests (creating + save + delete + find). contacts.spec.24 Creating, saving, finding a contact should work, removing it should work, after which we should not be able to find it, and we should not be able to delete it again.
> Expected 3 to be 1.
> Error: Expected 3 to be 1.
> at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
> at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
> at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
> at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
> at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
> at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
> at findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:394:41)
> at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:56:17)
> at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
> at processMessage (file:///android_asset/www/cordova.js:1081:17)
> Expected 2 to be 0.
> Error: Expected 2 to be 0.
> at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
> at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
> at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
> at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
> at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
> at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
> at findWinAgain (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:399:51)
> at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:56:17)
> at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
> at processMessage (file:///android_asset/www/cordova.js:1081:17)
> {noformat}
--
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