Searched refs:getContextPath (Results 1 – 16 of 16) sorted by relevance
21 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetContextRelativePath()31 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetContextRelativePathWithWrongPath()41 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetContextRelativePathWithRootPath()51 expect(servletRequest.getContextPath()).andReturn(""); in testGetContextRelativePathWithEmptyPath()
90 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineServlets()137 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineWithFilter()248 expect(requestMock.getContextPath()) in testForwardUsingRequestDispatcher()290 expect(requestMock.getContextPath()) in testQueryInRequestUri_regex()328 expect(requestMock.getContextPath()) in testQueryInRequestUri()
70 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()109 expect(requestMock.getContextPath()) in testDispatchThatNoFiltersFire()149 expect(requestMock.getContextPath()) in testDispatchFilterPipelineWithRegexMatching()
85 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineServlets()125 expect(requestMock.getContextPath()) in testVarargsSkipDispatchRequestToManagedPipelineServlets()168 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineWithFilter()
108 expect(request.getContextPath()) in testFilterCreateDispatchDestroy()169 expect(request.getContextPath()) in testFilterCreateDispatchDestroySupressChain()231 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetFilterIfMatching()266 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetFilterIfMatchingNotMatching()
94 expect(request.getContextPath()) in testDispatchThruInjectedGuiceFilter()133 expect(request.getContextPath()) in testDispatchThruInjectedGuiceFilter()
101 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()157 expect(requestMock.getContextPath()) in testDispatchThatNoFiltersFire()198 expect(requestMock.getContextPath()) in testDispatchFilterPipelineWithRegexMatching()
123 expect(req.getContextPath()).andReturn("").anyTimes(); in testSimple()247 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()
128 expect(request.getContextPath()) in testRequestContinuesInOtherThread()171 expect(request.getContextPath()) in testRequestContinuationDiesInHttpRequestThread()
191 expect(request.getContextPath()) in pathInfoWithServletStyleMatching()291 expect(request.getContextPath()) in pathInfoWithRegexMatching()
80 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()
79 @Override public String getContextPath() { in newFakeHttpServletRequest() method
78 expect(request.getContextPath()) in testDispatchThruGuiceFilter()
117 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testServiceWithContextPath()
41 String contextPath = request.getContextPath(); in getContextRelativePath()
213 pathInfo = requestUri.substring(getContextPath().length()).replaceAll("[/]{2,}", "/"); in doService()