UrlUtilsTest fails
------------------
Key: SUREFIRE-493
URL: http://jira.codehaus.org/browse/SUREFIRE-493
Project: Maven Surefire
Issue Type: Bug
Environment: Maven version: 2.0.8, Java version: 1.6.0_02, OS name:
"windows xp" version: "5.1" arch: "x86" Family: "windows"
Reporter: Dan Fabulich
Priority: Blocker
When I run UrlUtilsTest from the command line or from Eclipse, it fails. (Note
my environment above.)
{code}
testTestNoSpecialCharacters(org.apache.maven.surefire.util.UrlUtilsTest) Time
elapsed: 0 sec <<< FAILURE!
junit.framework.AssertionFailedError:
expected:<file://C:/svn/maven/trunks/surefire/surefire-api/foo.txt> but
was:<file:/C:/svn/maven/trunks/surefire/surefire-api/foo.txt>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at
org.apache.maven.surefire.util.UrlUtilsTest.testTestNoSpecialCharacters(UrlUtilsTest.java:55)
testTestWithSpaces(org.apache.maven.surefire.util.UrlUtilsTest) Time elapsed:
0 sec <<< FAILURE!
junit.framework.AssertionFailedError:
expected:<file://C:/svn/maven/trunks/surefire/surefire-api/foo%20bar.txt> but
was:<file:/C:/svn/maven/trunks/surefire/surefire-api/foo%20bar.txt>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at
org.apache.maven.surefire.util.UrlUtilsTest.testTestWithSpaces(UrlUtilsTest.java:70)
testTestWithUmlaut(org.apache.maven.surefire.util.UrlUtilsTest) Time elapsed:
0.016 sec <<< FAILURE!
junit.framework.AssertionFailedError:
expected:<file://C:/svn/maven/trunks/surefire/surefire-api/fo%c3%9c.txt> but
was:<file:/C:/svn/maven/trunks/surefire/surefire-api/fo%c3%9c.txt>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at
org.apache.maven.surefire.util.UrlUtilsTest.testTestWithUmlaut(UrlUtilsTest.java:77)
{code}
--
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