HomeSort by relevance Sort by last modified time
    Searched refs:requestMock (Results 1 - 6 of 6) sorted by null

  /external/guice/extensions/servlet/test/com/google/inject/servlet/
VarargsFilterDispatchIntegrationTest.java 65 HttpServletRequest requestMock = createMock(HttpServletRequest.class);
67 expect(requestMock.getRequestURI())
70 expect(requestMock.getContextPath())
75 replay(requestMock);
76 pipeline.dispatch(requestMock, null, createMock(FilterChain.class));
79 verify(requestMock);
104 HttpServletRequest requestMock = createMock(HttpServletRequest.class);
106 expect(requestMock.getRequestURI())
109 expect(requestMock.getContextPath())
114 replay(requestMock);
    [all...]
VarargsServletDispatchIntegrationTest.java 80 HttpServletRequest requestMock = createMock(HttpServletRequest.class);
82 expect(requestMock.getRequestURI())
85 expect(requestMock.getContextPath())
90 replay(requestMock);
92 pipeline.dispatch(requestMock, null, createMock(FilterChain.class));
95 verify(requestMock);
120 HttpServletRequest requestMock = createMock(HttpServletRequest.class);
122 expect(requestMock.getRequestURI())
125 expect(requestMock.getContextPath())
130 replay(requestMock);
    [all...]
ServletDispatchIntegrationTest.java 85 HttpServletRequest requestMock = createMock(HttpServletRequest.class);
87 expect(requestMock.getRequestURI())
90 expect(requestMock.getContextPath())
95 replay(requestMock);
97 pipeline.dispatch(requestMock, null, createMock(FilterChain.class));
101 verify(requestMock);
132 HttpServletRequest requestMock = createMock(HttpServletRequest.class);
134 expect(requestMock.getRequestURI())
137 expect(requestMock.getContextPath())
142 replay(requestMock);
    [all...]
MultiModuleDispatchIntegrationTest.java 75 HttpServletRequest requestMock = createMock(HttpServletRequest.class);
77 expect(requestMock.getRequestURI())
80 expect(requestMock.getContextPath())
85 replay(requestMock);
86 pipeline.dispatch(requestMock, null, createMock(FilterChain.class));
89 verify(requestMock);
FilterDispatchIntegrationTest.java 96 HttpServletRequest requestMock = control.createMock(HttpServletRequest.class);
98 expect(requestMock.getRequestURI())
101 expect(requestMock.getContextPath())
105 requestMock.setAttribute(REQUEST_DISPATCHER_REQUEST, true);
106 requestMock.removeAttribute(REQUEST_DISPATCHER_REQUEST);
119 pipeline.dispatch(requestMock, responseMock, filterChain);
152 HttpServletRequest requestMock = control.createMock(HttpServletRequest.class);
154 expect(requestMock.getRequestURI())
157 expect(requestMock.getContextPath())
163 filterChain.doFilter(requestMock, null)
    [all...]
ServletPipelineRequestDispatcherTest.java 73 final HttpServletRequest requestMock = createMock(HttpServletRequest.class);
75 expect(requestMock.getAttribute(A_KEY))
79 requestMock.setAttribute(REQUEST_DISPATCHER_REQUEST, true);
80 requestMock.removeAttribute(REQUEST_DISPATCHER_REQUEST);
111 replay(injector, binding, requestMock, mockBinding);
121 dispatcher.include(requestMock, createMock(HttpServletResponse.class));
125 verify(injector, requestMock, mockBinding);
136 final HttpServletRequest requestMock = createMock(HttpServletRequest.class);
139 expect(requestMock.getAttribute(A_KEY))
143 requestMock.setAttribute(REQUEST_DISPATCHER_REQUEST, true)
    [all...]

Completed in 188 milliseconds