stephan 2003/04/19 09:03:56
Modified: src/test/org/apache/cocoon/environment/mock MockRequest.java Log: Updating mock classes for environment. Revision Changes Path 1.2 +16 -0 cocoon-2.1/src/test/org/apache/cocoon/environment/mock/MockRequest.java Index: MockRequest.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/environment/mock/MockRequest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MockRequest.java 16 Apr 2003 10:54:00 -0000 1.1 +++ MockRequest.java 19 Apr 2003 16:03:56 -0000 1.2 @@ -151,6 +151,10 @@ } } + public void addParameter(String name, String value) { + parameters.put(name, value); + } + public String getProtocol() { return protocol; } @@ -257,10 +261,18 @@ return contextPath; } + public void setContextPath(String path) { + contextPath = path; + } + public String getQueryString() { return queryString; } + public void setQueryString(String string) { + queryString = string; + } + public String getRemoteUser() { return remoteUser; } @@ -279,6 +291,10 @@ public String getRequestURI() { return requestURI; + } + + public void setRequestURI(String uri) { + requestURI = uri;; } public String getSitemapURI() {