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]

Patch: FYI: New test for jar: URLs with fragments


I committed a new test exposing Classpath bug #13353:

https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=13353

-- 
Ziga

2005-06-09  Ziga Mahkovec  <ziga.mahkovec@klika.si>

	New test for Classpath bug #13353:
	* gnu/testlet/java/net/URL/newURL.java: New test for jar: URLs with
	fragments.

Index: gnu/testlet/java/net/URL/newURL.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/URL/newURL.java,v
retrieving revision 1.2
diff -u -r1.2 newURL.java
--- gnu/testlet/java/net/URL/newURL.java	13 Nov 2003 22:52:35 -0000	1.2
+++ gnu/testlet/java/net/URL/newURL.java	9 Jun 2005 18:55:25 -0000
@@ -84,6 +84,9 @@
     check("jar:http://www.kaffe.org/foo/bar.jar!/";,
 	  "/float/boat",
 	  "jar:http://www.kaffe.org/foo/bar.jar!/float/boat";);
+    check("jar:http://www.kaffe.org/foo/bar.jar!/float";,
+	  "#boat",
+	  "jar:http://www.kaffe.org/foo/bar.jar!/float#boat";);
     check(null,
 	  "http://www.kaffe.org:99999/foo/bar";,
 	  "http://www.kaffe.org:99999/foo/bar";);



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