[ http://issues.apache.org/jira/browse/VFS-75?page=all ]
Mario Ivankovits resolved VFS-75.
---------------------------------
Resolution: Fixed
Did you manage to start the tests from within Eclipse?
> Impossible to pass test cases
> -----------------------------
>
> Key: VFS-75
> URL: http://issues.apache.org/jira/browse/VFS-75
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: Nightly Builds
> Reporter: Sergey Vladimirov
>
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]