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

Gary Gregory resolved VFS-482.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1
         Assignee: Gary Gregory

Thank you for the report!

{noformat}
commit -m "[VFS-482] Wrong assertion messages in RAM provider test case." 
C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java
 C:/vcs/svn/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Sending        
C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java
    Sending        
C:/vcs/svn/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Transmitting file data ...
    Committed revision 1511553.
{noformat}
                
> Wrong assertion messages in RAM provider test case
> --------------------------------------------------
>
>                 Key: VFS-482
>                 URL: https://issues.apache.org/jira/browse/VFS-482
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: source
>            Reporter: Bernd Eckenfels
>            Assignee: Gary Gregory
>            Priority: Trivial
>             Fix For: 2.1
>
>
> The JUnit testcase 
> org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTest.testSmallFS() 
> writes
> assertTrue("Both files should exist in different fs instances.", fo3
>                 .getFileSystem() == fo4.getFileSystem());
> Where the assert does not match the text, it should be "Both files should 
> exist in the same fs instance." like the asert before.
> The fail is also wrong text:
>             fail("It shouldn't save such a small file");
> it should read
>             fail("It should be able to save such a small file");

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

Reply via email to