Home
last modified time | relevance | path

Searched refs:getContextPath (Results 1 – 16 of 16) sorted by relevance

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletUtilsTest.java21 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()
DServletDispatchIntegrationTest.java90 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()
DVarargsFilterDispatchIntegrationTest.java70 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()
109 expect(requestMock.getContextPath()) in testDispatchThatNoFiltersFire()
149 expect(requestMock.getContextPath()) in testDispatchFilterPipelineWithRegexMatching()
DVarargsServletDispatchIntegrationTest.java85 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineServlets()
125 expect(requestMock.getContextPath()) in testVarargsSkipDispatchRequestToManagedPipelineServlets()
168 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineWithFilter()
DFilterDefinitionTest.java108 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()
DInjectedFilterPipelineTest.java94 expect(request.getContextPath()) in testDispatchThruInjectedGuiceFilter()
133 expect(request.getContextPath()) in testDispatchThruInjectedGuiceFilter()
DFilterDispatchIntegrationTest.java101 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()
157 expect(requestMock.getContextPath()) in testDispatchThatNoFiltersFire()
198 expect(requestMock.getContextPath()) in testDispatchFilterPipelineWithRegexMatching()
DContextPathTest.java123 expect(req.getContextPath()).andReturn("").anyTimes(); in testSimple()
247 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()
DContinuingRequestIntegrationTest.java128 expect(request.getContextPath()) in testRequestContinuesInOtherThread()
171 expect(request.getContextPath()) in testRequestContinuationDiesInHttpRequestThread()
DServletDefinitionPathsTest.java191 expect(request.getContextPath()) in pathInfoWithServletStyleMatching()
291 expect(request.getContextPath()) in pathInfoWithRegexMatching()
DMultiModuleDispatchIntegrationTest.java80 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()
DServletTestUtils.java79 @Override public String getContextPath() { in newFakeHttpServletRequest() method
DFilterPipelineTest.java78 expect(request.getContextPath()) in testDispatchThruGuiceFilter()
DServletDefinitionTest.java117 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testServiceWithContextPath()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletUtils.java41 String contextPath = request.getContextPath(); in getContextRelativePath()
DServletDefinition.java213 pathInfo = requestUri.substring(getContextPath().length()).replaceAll("[/]{2,}", "/"); in doService()