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]

URLTest


2005-07-07  Andrew Haley  <aph@redhat.com>

	* gnu/testlet/java/net/URL/URLTest.java (test_contextResolution):
	A few more cases.

Index: URLTest.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/URL/URLTest.java,v
retrieving revision 1.14
diff -p -2 -c -r1.14 URLTest.java
*** URLTest.java	12 Jan 2005 19:07:40 -0000	1.14
--- URLTest.java	7 Jul 2005 16:02:39 -0000
*************** public class URLTest implements Testlet
*** 607,610 ****
--- 607,638 ----
  		 "jar:file://www.example.com/test.jar!/foo/test.txt"
  		},
+ 		{"jar:file://www.example.com/test.jar!/foo/bar.txt",
+ 		 "jar:file://www.example.com/test.jar!/foo/test.txt",
+ 		 "jar:file://www.example.com/test.jar!/foo/test.txt"
+ 		},
+ 		{"jar:http://www.example.com:9090/test.jar!/foo/bar.txt";,
+ 		 "jar:http://www.example.com:9090/test.jar!/foo/test.txt";,
+ 		 "jar:http://www.example.com:9090/test.jar!/foo/test.txt";
+ 		},
+ 		{"jar:file:/foo/bar.txt!/foo/test.txt",
+ 		 "jar:file:/foo/bar.txt!/foo/test.txt",
+ 		 "jar:file:/foo/bar.txt!/foo/test.txt",
+ 		},
+ 		{"jar:file:/foo/bar.jar!/foo/test.txt",
+ 		 "baz.txt",
+ 		 "jar:file:/foo/bar.jar!/foo/baz.txt",
+ 		},
+ 		{"jar:file:/foo/bar.jar!/foo/",
+ 		 "baz.txt",
+ 		 "jar:file:/foo/bar.jar!/foo/baz.txt",
+ 		},
+ 		{"http:/a/b/c",
+ 		 "http:d/e",
+ 		 "http:/a/b/d/e"
+ 		},
+ 		{"http:/a/b/c",
+ 		 "https:d/e",
+ 		 "https:d/e"
+ 		},
  	    };
  	    


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