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

Impossible to pass test cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None

    Description

      It's impossible to pass test cases. Almost all of them fail at setUp() stage:

      junit.framework.AssertionFailedError: Folder does not exist: file:///C:/read-tests
      at junit.framework.Assert.fail(Assert.java:47)

      OR

      junit.framework.AssertionFailedError: Folder does not exist: file:///C:/Vladimirov/workspace/vfs/src/test-data/read-tests
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.apache.commons.vfs.test.AbstractTestSuite.setUp(AbstractTestSuite.java:160)

      OR

      java.lang.IllegalArgumentException
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:629)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:601)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:569)
      at org.apache.commons.vfs.provider.webdav.test.WebdavProviderTestCase.getBaseTestFolder(WebdavProviderTestCase.java:58)
      at org.apache.commons.vfs.test.AbstractTestSuite.setUp(AbstractTestSuite.java:155)

      OR

      org.apache.commons.vfs.FileSystemException: URI "C:\Vladimirov\workspace\vfs\src\test-data\test.zip" is not an absolute file name.
      at org.apache.commons.vfs.provider.local.WindowsFileNameParser.extractWindowsRootPrefix(WindowsFileNameParser.java:80)
      at org.apache.commons.vfs.provider.local.WindowsFileNameParser.extractRootPrefix(WindowsFileNameParser.java:38)
      at org.apache.commons.vfs.provider.local.LocalFileNameParser.parseUri(LocalFileNameParser.java:77)
      at org.apache.commons.vfs.provider.AbstractFileProvider.parseUri(AbstractFileProvider.java:167)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveURI(DefaultFileSystemManager.java:801)
      at org.apache.commons.vfs.impl.DefaultVfsComponentContext.parseURI(DefaultVfsComponentContext.java:66)
      at org.apache.commons.vfs.provider.LayeredFileNameParser.parseUri(LayeredFileNameParser.java:53)
      at org.apache.commons.vfs.provider.AbstractFileProvider.parseUri(AbstractFileProvider.java:167)
      at org.apache.commons.vfs.provider.AbstractLayeredFileProvider.findFile(AbstractLayeredFileProvider.java:49)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:640)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:601)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:569)
      at org.apache.commons.vfs.provider.zip.test.ZipProviderTestCase.getBaseTestFolder(ZipProviderTestCase.java:64)
      at org.apache.commons.vfs.test.AbstractTestSuite.setUp(AbstractTestSuite.java:155)

      Attachments

        Activity

          People

            Unassigned Unassigned
            bsp Sergey Vladimirov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: