Home
last modified time | relevance | path

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

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DInjectedFilterPipelineTest.java80 FilterConfig filterConfig = createMock(FilterConfig.class); in testDispatchThruInjectedGuiceFilter() local
87 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruInjectedGuiceFilter()
99 replay(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter()
103 webFilter.init(filterConfig); in testDispatchThruInjectedGuiceFilter()
108 verify(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter()
111 reset(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter()
118 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruInjectedGuiceFilter()
129 replay(filterConfig, servletContext, request, proceedingFilterChain2, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter()
133 webFilter.init(filterConfig); in testDispatchThruInjectedGuiceFilter()
138 verify(filterConfig, servletContext, request, proceedingFilterChain, proceedingFilterChain2); in testDispatchThruInjectedGuiceFilter()
[all …]
DFilterPipelineTest.java62 FilterConfig filterConfig = createMock(FilterConfig.class); in testDispatchThruGuiceFilter() local
69 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruGuiceFilter()
79 replay(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruGuiceFilter()
83 webFilter.init(filterConfig); in testDispatchThruGuiceFilter()
88 verify(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruGuiceFilter()
94 public void init(FilterConfig filterConfig) {} in init() argument
110 public void init(FilterConfig filterConfig) {} in init() argument
DContinuingRequestIntegrationTest.java126 FilterConfig filterConfig = createMock(FilterConfig.class); in testRequestContinuesInOtherThread() local
127 expect(filterConfig.getServletContext()).andReturn(createMock(ServletContext.class)); in testRequestContinuesInOtherThread()
141 replay(request, filterConfig, filterChain); in testRequestContinuesInOtherThread()
143 guiceFilter.init(filterConfig); in testRequestContinuesInOtherThread()
151 verify(request, filterConfig, filterChain); in testRequestContinuesInOtherThread()
170 FilterConfig filterConfig = createMock(FilterConfig.class); in testRequestContinuationDiesInHttpRequestThread() local
171 expect(filterConfig.getServletContext()).andReturn(createMock(ServletContext.class)); in testRequestContinuationDiesInHttpRequestThread()
184 replay(request, filterConfig, filterChain); in testRequestContinuationDiesInHttpRequestThread()
186 guiceFilter.init(filterConfig); in testRequestContinuationDiesInHttpRequestThread()
196 verify(request, filterConfig, filterChain); in testRequestContinuationDiesInHttpRequestThread()
DFilterDefinitionTest.java74 final FilterConfig filterConfig = mockFilter.getConfig(); in testFilterInitAndConfig() local
75 assertTrue(null != filterConfig); in testFilterInitAndConfig()
76 assertEquals(contextName, filterConfig.getServletContext().getServletContextName()); in testFilterInitAndConfig()
77 assertEquals(filterConfig.getFilterName(), Key.get(Filter.class).toString()); in testFilterInitAndConfig()
79 final Enumeration names = filterConfig.getInitParameterNames(); in testFilterInitAndConfig()
84 assertEquals(filterConfig.getInitParameter(name), initParams.get(name)); in testFilterInitAndConfig()
285 public void init(FilterConfig filterConfig) { in init() argument
288 this.config = filterConfig; in init()
DContextPathTest.java56 private FilterConfig filterConfig; field in ContextPathTest
87 filterConfig = globalControl.createMock(FilterConfig.class); in setUp()
92 expect(filterConfig.getServletContext()).andReturn(servletContext).anyTimes(); in setUp()
97 guiceFilter.init(filterConfig); in setUp()
113 filterConfig = null; in tearDown()
DVarargsServletDispatchIntegrationTest.java194 public void init(ServletConfig filterConfig) throws ServletException { in init() argument
213 public void init(ServletConfig filterConfig) throws ServletException { in init() argument
232 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DServletDispatchIntegrationTest.java162 public void init(ServletConfig filterConfig) throws ServletException { in init() argument
181 public void init(ServletConfig filterConfig) throws ServletException { in init() argument
200 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DDummyFilterImpl.java42 public void init(FilterConfig filterConfig) throws ServletException {} in init() argument
DFilterDispatchIntegrationTest.java220 public void init(FilterConfig filterConfig) { in init() argument
364 public void init(FilterConfig filterConfig) {} in init() argument
447 public void init(FilterConfig filterConfig) {} in init() argument
DMultiModuleDispatchIntegrationTest.java97 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DVarargsFilterDispatchIntegrationTest.java172 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DServletTest.java197 public void init(FilterConfig filterConfig) {} in testRequestAndResponseBindings_wrappingFilter()
269 public void init(FilterConfig filterConfig) {} in testRequestAndResponseBindings_matchesPassedParameters()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DGuiceFilter.java222 public void init(FilterConfig filterConfig) throws ServletException {
223 final ServletContext servletContext = filterConfig.getServletContext();
/external/guice/extensions/persist/src/com/google/inject/persist/
DPersistFilter.java76 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
/external/guice/extensions/struts2/lib/
Djetty-util-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...
Dstruts2-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...