From: Chris N. <ch...@si...> - 2002-09-09 21:35:43
|
Thanks, Chris Index: MockHttpServletRequest.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/j2ee/1.3/com/mockobjects/servlet/MockHttpServletRequest.java,v retrieving revision 1.8 diff -c -r1.8 MockHttpServletRequest.java *** MockHttpServletRequest.java 27 Aug 2002 16:38:17 -0000 1.8 --- MockHttpServletRequest.java 9 Sep 2002 21:31:28 -0000 *************** *** 21,26 **** --- 21,27 ---- private Dictionary myHeaders = new Hashtable(); private HttpSession myHttpSession; private String myContentTypeToReturn; + private String myContextPath; private String myPathInfo; private String myRemoteAddress; private String myRequestURI; *************** *** 91,98 **** } public String getContextPath() { ! notImplemented(); ! return null; } public Cookie[] getCookies() { --- 92,102 ---- } public String getContextPath() { ! return myContextPath; ! } ! ! public void setupGetContextPath(String contextPath) { ! myContextPath = contextPath; } public Cookie[] getCookies() { *************** *** 352,355 **** public Map getParameterMap() { return null; } ! } \ No newline at end of file --- 356,359 ---- public Map getParameterMap() { return null; } ! } |