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/
DServletDispatchIntegrationTest.java87 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineServlets()
136 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineWithFilter()
261 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testForwardUsingRequestDispatcher()
299 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testQueryInRequestUri_regex()
335 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testQueryInRequestUri()
DVarargsFilterDispatchIntegrationTest.java64 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipeline()
106 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchThatNoFiltersFire()
149 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchFilterPipelineWithRegexMatching()
DVarargsServletDispatchIntegrationTest.java82 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineServlets()
125 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testVarargsSkipDispatchRequestToManagedPipelineServlets()
170 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineWithFilter()
DFilterDefinitionTest.java103 expect(request.getContextPath()).andReturn("").anyTimes(); in testFilterCreateDispatchDestroy()
166 expect(request.getContextPath()).andReturn("").anyTimes(); in testFilterCreateDispatchDestroySupressChain()
232 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetFilterIfMatching()
269 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetFilterIfMatchingNotMatching()
DFilterDispatchIntegrationTest.java94 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipeline()
152 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchThatNoFiltersFire()
196 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchFilterPipelineWithRegexMatching()
268 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in runRequestForPath()
DInjectedFilterPipelineTest.java92 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruInjectedGuiceFilter()
122 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruInjectedGuiceFilter()
DContextPathTest.java128 expect(req.getContextPath()).andReturn("").anyTimes(); in testSimple()
257 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()
DServletUtilsTest.java54 expect(mock.getContextPath()).andReturn(contextPath); in getContextRelativePath()
DContinuingRequestIntegrationTest.java134 expect(request.getContextPath()).andReturn("").anyTimes(); in testRequestContinuesInOtherThread()
178 expect(request.getContextPath()).andReturn("").anyTimes(); in testRequestContinuationDiesInHttpRequestThread()
DServletDefinitionPathsTest.java197 expect(request.getContextPath()).andReturn(contextPath); in pathInfoWithServletStyleMatching()
308 expect(request.getContextPath()).andReturn(contextPath); in pathInfoWithRegexMatching()
DMultiModuleDispatchIntegrationTest.java74 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipeline()
DServletTestUtils.java83 public String getContextPath() { in newFakeHttpServletRequest() method
DFilterPipelineTest.java72 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruGuiceFilter()
DServletDefinitionTest.java118 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testServiceWithContextPath()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletUtils.java55 String contextPath = request.getContextPath(); in getContextRelativePath()
DServletDefinition.java215 pathInfo = requestUri.substring(getContextPath().length()).replaceAll("[/]{2,}", "/"); in doService()