cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7423) mobilespec test failures on iOS
Date Tue, 09 Sep 2014 19:47:30 GMT

    [ https://issues.apache.org/jira/browse/CB-7423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127457#comment-14127457
] 

ASF GitHub Bot commented on CB-7423:
------------------------------------

GitHub user eymorale opened a pull request:

    https://github.com/apache/cordova-mobile-spec/pull/107

    CB-7423 change failing whitelist test by adding a pattern it should matc...

    ...h
    Previous test was assuming that the pattern "file:///*" was added to the whitelist in
the Whitelist constructor. However, that was changed in Android and wasn't true for iOS. So
the test would fail with no pattern added to the whitelist.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/eymorale/cordova-mobile-spec CB-7423

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-mobile-spec/pull/107.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 #107
    
----
commit 7e9bd4882082d9d5722319a6562cb4c7a20779ba
Author: Edna Morales <eymorale@us.ibm.com>
Date:   2014-09-09T19:40:25Z

    CB-7423 change failing whitelist test by adding a pattern it should match

----


> mobilespec test failures on iOS
> -------------------------------
>
>                 Key: CB-7423
>                 URL: https://issues.apache.org/jira/browse/CB-7423
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Plugin File Transfer
>    Affects Versions: 3.5.0
>         Environment: iOS
>            Reporter: Edna Morales
>             Fix For: 3.6.0
>
>
> Running the automated tests for each plugin individually (there are false failures when
run all together in mobilespec) results in the following:
> File-transfer - 3 failures:
> -spec 8 should be able to download a file using https: error timeout - async callback
was not invoked...
> -spec 28 should be able to download a file using local paths: reference error can't find
variable lastProgressEvent in file:///...
> -spec 29 should be able to upload a file using local paths: reference error can't find
variable lastProgressEvent in file:///...
> File - 2 failures (only after running a second time)
> -spec 57 copyTo file: Error copying file {"code":12}
> -spec 60 copyTo directory to backup at same root directory: Error copying directory {"code":12}
> It looks like the files aren't getting deleted after the first run, which is causing
these errors the second time
> Plugin manual tests:
> Camera:
> -Not seeing a difference with different quality values
> -Call to write/copy/upload fails if one is called after the other (i.e. Call to copy
succeeds but call to upload fails if done right after the call to copy)
> Native Auto Tests:
> Whitelist - 1 failure:
> -Match function should accept file:///foo.html for []: Expected spy unknown to have been
called with [true] but was called with [[false]]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message