You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/07 17:48:45 UTC
[jira] [Commented] (CB-9619) Media plugin test failures on Android
(spec.20 and spec.21)
[ https://issues.apache.org/jira/browse/CB-9619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733860#comment-14733860 ]
ASF GitHub Bot commented on CB-9619:
------------------------------------
GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-plugin-media/pull/66
CB-9619 Fixed tests waiting for precise position
https://issues.apache.org/jira/browse/CB-9619
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-media CB-9619
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-media/pull/66.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #66
----
commit b1704a992a2a0861ed9d89fe56f10147841c48f0
Author: Alexander Sorokin <al...@akvelon.com>
Date: 2015-09-07T15:46:07Z
CB-9619 Fixed tests waiting for precise position
----
> Media plugin test failures on Android (spec.20 and spec.21)
> -----------------------------------------------------------
>
> Key: CB-9619
> URL: https://issues.apache.org/jira/browse/CB-9619
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Media
> Reporter: Alexander Sorokin
> Assignee: Alexander Sorokin
>
> Sometimes the returned value of media.getCurrentPosition() is not an integer:
> {noformat}
> cordova-plugin-media-tests.tests >> Media actual playback media.spec.20 should be able to resume playback after pause
> Expected 20.323 to be 20.
> Error: Expected 20.323 to be 20.
> 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 file:///android_asset/www/plugins/cordova-plugin-media-tests/tests.js:284:46
> at file:///android_asset/www/plugins/cordova-plugin-media/www/Media.js:123:9
> at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
> at processMessage (file:///android_asset/www/cordova.js:1081:17)
> cordova-plugin-media-tests.tests >> Media actual playback media.spec.21 should be able to seek through file
> Expected 5.146 to be 5.
> Error: Expected 5.146 to be 5.
> 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 file:///android_asset/www/plugins/cordova-plugin-media-tests/tests.js:316:50
> at file:///android_asset/www/plugins/cordova-plugin-media/www/Media.js:123:9
> 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