maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (Apache) (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MRM-293) [archiva-common] Fix GenericArtifactConsumerTest, so it will run on Windows
Date Sun, 25 Feb 2007 19:29:15 GMT

    [ http://jira.codehaus.org/browse/MRM-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88497
] 

Nathan Beyer (Apache) commented on MRM-293:
-------------------------------------------

I cloned MRM-292, because this issue has the same root cause, hardcoded separators in paths
of the test cases. This issue is related to the test org.apache.maven.archiva.common.consumers.GenericArtifactConsumerTest.

> [archiva-common] Fix GenericArtifactConsumerTest, so it will run on Windows
> ---------------------------------------------------------------------------
>
>                 Key: MRM-293
>                 URL: http://jira.codehaus.org/browse/MRM-293
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Windows XP SP2, Sun JDK 5 Update 11, Maven 2.0.5
>            Reporter: Nathan Beyer (Apache)
>
> The test org.apache.maven.archiva.common.utils.BaseFileTest won't pass on Windows platform,
because it doesn't compensate for drive letters being adding to the absolute paths. I've added
some simple utility methods and tweaked the expected values to compensate for this. I don't
have a Linux box to test on, so I haven't validated that they still work there, so the committer
should verify the tests on a Linux or Unix box.

-- 
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

        

Mime
View raw message