This is the mail archive of the mauve-patches@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: URLTest addition


Am Mittwoch, 12. Januar 2005 18:55 schrieb Bryn Cooke:
> Please find attached a patch for URLTest.java that adds a test for
> URLs constructed with a context.
> If resource URLs are created with erroneous '..' or '.' segments in
> their paths it increases the likelihood of resolution failure.
>
> The tests pass on JDK1.5 and fail on classpath.
> echo gnu.testlet.java.net.URL.URLTest | java
> gnu.testlet.SimpleTestHarness 0 of 171 tests failed
>
> echo gnu.testlet.java.net.URL.URLTest | mono ikvm.exe
> gnu.testlet.SimpleTestHarness
> FAIL: gnu.testlet.java.net.URL.URLTest:  Error in test_Basics  - 35
> exception should not be thrown here (number 1)
> ---snip---
> FAIL: gnu.testlet.java.net.URL.URLTest: contextResolution (number
> 5) FAIL: gnu.testlet.java.net.URL.URLTest: contextResolution
> (number 6) 3 of 168 tests failed
>
> Only gnu.testlet.java.net.URL.URLTest: contextResolution errors
> pertain to this patch.
> I wasn't sure about the name of the test; feel free to rename it.

Thanks for your contribution. I just applied the patch to mauve.
I will look into Classpath's URL implementation in the next days.


Michael
-- 
Homepage: http://www.worldforge.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]