commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <>
Subject [jira] [Resolved] (VFS-482) Wrong assertion messages in RAM provider test case
Date Thu, 08 Aug 2013 01:31:48 GMT


Gary Gregory resolved VFS-482.

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

Thank you for the report!

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/
    Sending        C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/
    Sending        C:/vcs/svn/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Transmitting file data ...
    Committed revision 1511553.
> Wrong assertion messages in RAM provider test case
> --------------------------------------------------
>                 Key: VFS-482
>                 URL:
>             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()
> 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:

View raw message