cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-4064) Test case file.spec.71 seems not to be doing what it says
Date Thu, 04 Jul 2013 18:05:48 GMT

     [ https://issues.apache.org/jira/browse/CB-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Filip Maj resolved CB-4064.
---------------------------

    Resolution: Invalid

Actually, according to the docs, moving a directory into ANY subdirectory of itself should
resort in an error. In this test case, it is moving the housing directory into a subdirectory
named {{dstDir}} of its own directory, so this one should be valid.
                
> Test case file.spec.71 seems not to be doing what it says
> ---------------------------------------------------------
>
>                 Key: CB-4064
>                 URL: https://issues.apache.org/jira/browse/CB-4064
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: mobile-spec
>    Affects Versions: 2.7.0
>            Reporter: Peter
>            Assignee: Filip Maj
>            Priority: Minor
>
> It seems that the cordova-mobile-spec test case "file.spec.71 moveTo: directory into
itself" is not really doing what is claims to be doing, because the current moveTo is not
copying into itself at all.
> I think the *dstDir* variable should be removed 
> and
> the line: directory.moveTo(directory, dstDir, win, itMove);
> should be changed to: directory.moveTo(directory, *srcDir*, win, itMove);

--
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