Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-482

Wrong assertion messages in RAM provider test case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None
    • source

    Description

      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");

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            b.eckenfels Bernd Eckenfels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: