[archiva-common] Fix BaseFileTest, so it will run on Windows
------------------------------------------------------------

                 Key: MRM-292
                 URL: http://jira.codehaus.org/browse/MRM-292
             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)
         Attachments: BaseFileTest.diff

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

        

Reply via email to