commons-issues mailing list archives

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

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

Gary Gregory updated VFS-482:
-----------------------------

    Summary: Wrong assertion messages in RAM provider test case  (was: Wrong assertion messages
in RAM provider testcase)
    
> 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
>            Priority: Trivial
>
> 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

Mime
View raw message