ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant ProjectTest.java
Date Wed, 08 Aug 2001 11:29:40 GMT
    [junit] Testsuite: org.apache.tools.ant.ProjectTest
    [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.071 sec
    [junit]
    [junit] Testcase: testResolveFile(org.apache.tools.ant.ProjectTest)::
FAILED
    [junit] expected:<\1\2\3\4> but was:<F:\1\2\3\4>
    [junit] junit.framework.AssertionFailedError: expected:<\1\2\3\4> but
was:<F:\1\2\3\4>
    [junit]     at junit.framework.Assert.fail(Assert.java:51)
    [junit]     at junit.framework.Assert.failNotEquals(Assert.java:234)
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:68)
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:75)
    [junit]     at
org.apache.tools.ant.ProjectTest.testResolveFile(ProjectTest.java:127)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Wednesday, August 08, 2001 7:14 PM
Subject: Re: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant
ProjectTest.java


> I'd like to move the filename resolution stuff from Project to
> FileUtils (keeping the old methods as deprecated proxies). At the same
> time I hope to resolve the remaining issues of not using canonical
> paths any longer.
>
> But before I start hacking on it, I'd like to know whether this
> testcase works - I don't have a Windows box to test and my assumptions
> may be too naive (i.e. I assume that "\\".getAbsolutePath() will not
> contain a drive letter).
>
> Could somebody please run this test on windows and let me know whether
> it passes?
>
> Thanks
>
>         Stefan
>


Mime
View raw message