Failure in PathUtilTest under windows because the test uses slashes in path but
test File.separator in PathUtil
---------------------------------------------------------------------------------------------------------------
Key: MRM-500
URL: http://jira.codehaus.org/browse/MRM-500
Project: Archiva
Issue Type: Bug
Components: build
Affects Versions: 1.0-beta-2
Reporter: Emmanuel Venisse
-------------------------------------------------------------------------------
Test set: org.apache.maven.archiva.common.utils.PathUtilTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec <<<
FAILURE!
testToRelativeWithSlash(org.apache.maven.archiva.common.utils.PathUtilTest)
Time elapsed: 0.016 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<p...> but was:<...>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at
org.apache.maven.archiva.common.utils.PathUtilTest.testToRelativeWithSlash(PathUtilTest.java:45)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira