commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <>
Subject [jira] [Created] (VFS-482) wrong assertion explanations in ram provider testcase
Date Wed, 07 Aug 2013 22:14:47 GMT
Bernd Eckenfels created VFS-482:

             Summary: wrong assertion explanations in ram provider testcase
                 Key: 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()

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