Author: imario Date: Mon Dec 11 09:24:31 2006 New Revision: 485760 URL: http://svn.apache.org/viewvc?view=rev&rev=485760 Log: finally, even the ResourceProvider test case pass when building the distribution.
Modified: jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java jakarta/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/RamProviderTestCase.java Modified: jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java?view=diff&rev=485760&r1=485759&r2=485760 ============================================================================== --- jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java (original) +++ jakarta/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java Mon Dec 11 09:24:31 2006 @@ -277,7 +277,7 @@ } else { - throw new FileSystemException("File is not a folder nor a file" + throw new FileSystemException("File is not a folder nor a file " + memFo); } } Modified: jakarta/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/RamProviderTestCase.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/RamProviderTestCase.java?view=diff&rev=485760&r1=485759&r2=485760 ============================================================================== --- jakarta/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/RamProviderTestCase.java (original) +++ jakarta/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/RamProviderTestCase.java Mon Dec 11 09:24:31 2006 @@ -31,6 +31,7 @@ import org.apache.commons.vfs.test.AbstractProviderTestConfig; import org.apache.commons.vfs.test.ProviderTestConfig; import org.apache.commons.vfs.test.ProviderTestSuite; +import org.apache.commons.AbstractVfsTestCase; /** * Tests for the RAM file system. @@ -85,7 +86,7 @@ // Import the test tree FileObject fo = manager.resolveFile("ram:/"); RamFileSystem fs = (RamFileSystem) fo.getFileSystem(); - fs.importTree(new File("target/test-data")); + fs.importTree(new File(AbstractVfsTestCase.getTestDirectory())); fo.close(); inited=true; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]