[Httpunit-commit] CVS: httpunit/src/com/meterware/pseudoserver HttpUserAgentTest.java,1.4,1.5
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2002-11-29 15:24:15
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/pseudoserver
In directory sc8-pr-cvs1:/tmp/cvs-serv18304/src/com/meterware/pseudoserver
Modified Files:
HttpUserAgentTest.java
Log Message:
Added support for Location subproperties
Index: HttpUserAgentTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/pseudoserver/HttpUserAgentTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- HttpUserAgentTest.java 15 Nov 2002 00:07:33 -0000 1.4
+++ HttpUserAgentTest.java 29 Nov 2002 15:23:41 -0000 1.5
@@ -22,6 +22,7 @@
import java.util.Vector;
import java.util.Enumeration;
import java.util.StringTokenizer;
+import java.io.IOException;
import junit.framework.TestCase;
@@ -96,6 +97,11 @@
protected String getHostPath() {
return _hostPath;
+ }
+
+
+ protected int getHostPort() throws IOException {
+ return _server.getConnectedPort();
}
|