I just built (mvn clean install) and had no problem on Ubuntu. ----- Original Message ----- From: "James Carman" <[email protected]> To: "Commons Developers List" <[email protected]> Sent: Monday, October 29, 2012 1:51:48 PM Subject: Re: [VFS] Unit test failure
Same result here on Mac OS X Mountain Lion: Results : Tests in error: junit.framework.TestSuite@6e6dcfde(org.apache.commons.vfs2.test.ProviderTestSuite): Unknown message with code "org.apache.commons.vfs2.FileNotFoundException Could not read from "file:///Users/jcarman/IdeaProjects/commons-vfs/core/target/test-classes/test-data/write-tests/file1.txt" because it is a not a file.". On Mon, Oct 29, 2012 at 1:32 PM, Ralph Goers <[email protected]> wrote: > Nope. Mac OS/X Lion > > Ralph > > On Oct 29, 2012, at 9:49 AM, Gary Gregory wrote: > >> Hi Ralph, >> >> I've never seen that one! I am on Windows. Are you on Linux? >> >> Gary >> >> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers >> <[email protected]>wrote: >> >>> I haven't run the build in a while but I don't recall ever seeing this >>> before. >>> >>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229 sec >>> <<< FAILURE! >>> junit.framework.TestSuite@77c7bee2(org.apache.commons.vfs2.test.ProviderTestSuite) >>> >>> Time elapsed: 3228 sec <<< ERROR! >>> org.apache.commons.vfs2.FileSystemException: Unknown message with code >>> "org.apache.commons.vfs2.FileNotFoundException Could not read from >>> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt" >>> >>> because it is a not a file.". >>> at >>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289) >>> >>> at >>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254) >>> >>> at >>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254) >>> >>> at >>> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231) >>> >>> at >>> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90) >>> >>> at >>> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166) >>> >>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22) >>> at junit.framework.TestResult.runProtected(TestResult.java:128) >>> at junit.extensions.TestSetup.run(TestSetup.java:27) >>> at >>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) >>> >>> at >>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) >>> >>> at >>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) >>> >>> at >>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) >>> >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) >>> >>> at >>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) >>> >>> at >>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) >>> >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) >>> >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> E-Mail: [email protected] | [email protected] >> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 >> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
