cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-4264) mobile-spec file.spec.109 is failing on iOS
Date Tue, 16 Jul 2013 13:40:49 GMT

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

Shazron Abdullah edited comment on CB-4264 at 7/16/13 1:39 PM:
---------------------------------------------------------------

On a second run, this test passes (presumably because LocalStorage is backed up to PERSISTENT
storage)

What is happening here is, on first run, there are no files in the PERSISTENT storage (Documents
folder), so that line fails, resulting in a false positive. The test should ensure that it
either creates a file first there (if there are no files).
                
      was (Author: shazron):
    On a second run, this test passes (presumably because LocalStorage is backed up to PERSISTENT
storage)

What is happening here is, on first run, there is no files in the PERSISTENT storage (Documents
folder), so that line fails, resulting in a false positive. The test should ensure that it
either creates a file first there (if there are no files).
                  
> mobile-spec file.spec.109 is failing on iOS
> -------------------------------------------
>
>                 Key: CB-4264
>                 URL: https://issues.apache.org/jira/browse/CB-4264
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, mobile-spec, Plugin File
>    Affects Versions: Master
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>
> File API DirectoryReader interface readEntries file.spec.109 should return an empty entry
list on the second call.
> Expected 0 not to be 0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message