Home
last modified time | relevance | path

Searched refs:filterConfig (Results 1 – 14 of 14) 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()) in testDispatchThruInjectedGuiceFilter()
103 replay(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter()
107 webFilter.init(filterConfig); in testDispatchThruInjectedGuiceFilter()
112 verify(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter()
120 reset(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter()
127 expect(filterConfig.getServletContext()) in testDispatchThruInjectedGuiceFilter()
142 replay(filterConfig, servletContext, request, proceedingFilterChain2, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter()
146 webFilter.init(filterConfig); in testDispatchThruInjectedGuiceFilter()
151 verify(filterConfig, servletContext, request, proceedingFilterChain, proceedingFilterChain2); in testDispatchThruInjectedGuiceFilter()
[all …]
DFilterPipelineTest.java64 FilterConfig filterConfig = createMock(FilterConfig.class); in testDispatchThruGuiceFilter() local
71 expect(filterConfig.getServletContext()) in testDispatchThruGuiceFilter()
87 replay(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruGuiceFilter()
91 webFilter.init(filterConfig); in testDispatchThruGuiceFilter()
96 verify(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruGuiceFilter()
101 public void init(FilterConfig filterConfig) { in init() argument
115 public void init(FilterConfig filterConfig) { in init() argument
DContinuingRequestIntegrationTest.java120 FilterConfig filterConfig = createMock(FilterConfig.class); in testRequestContinuesInOtherThread() local
121 expect(filterConfig.getServletContext()).andReturn(createMock(ServletContext.class)); in testRequestContinuesInOtherThread()
137 replay(request, filterConfig, filterChain); in testRequestContinuesInOtherThread()
139 guiceFilter.init(filterConfig); in testRequestContinuesInOtherThread()
147 verify(request, filterConfig, filterChain); in testRequestContinuesInOtherThread()
163 FilterConfig filterConfig = createMock(FilterConfig.class); in testRequestContinuationDiesInHttpRequestThread() local
164 expect(filterConfig.getServletContext()).andReturn(createMock(ServletContext.class)); in testRequestContinuationDiesInHttpRequestThread()
179 replay(request, filterConfig, filterChain); in testRequestContinuationDiesInHttpRequestThread()
181 guiceFilter.init(filterConfig); in testRequestContinuationDiesInHttpRequestThread()
191 verify(request, filterConfig, filterChain); in testRequestContinuationDiesInHttpRequestThread()
DFilterDefinitionTest.java75 final FilterConfig filterConfig = mockFilter.getConfig(); in testFilterInitAndConfig() local
76 assertTrue(null != filterConfig); in testFilterInitAndConfig()
77 assertEquals(filterConfig.getServletContext().getServletContextName(), contextName); in testFilterInitAndConfig()
78 assertEquals(filterConfig.getFilterName(), Key.get(Filter.class).toString()); in testFilterInitAndConfig()
80 final Enumeration names = filterConfig.getInitParameterNames(); in testFilterInitAndConfig()
85 assertEquals(filterConfig.getInitParameter(name), initParams.get(name)); in testFilterInitAndConfig()
281 public void init(FilterConfig filterConfig) { in init() argument
284 this.config = filterConfig; in init()
DContextPathTest.java58 private FilterConfig filterConfig; field in ContextPathTest
83 filterConfig = globalControl.createMock(FilterConfig.class); in setUp()
87 expect(filterConfig.getServletContext()).andReturn(servletContext).anyTimes(); in setUp()
92 guiceFilter.init(filterConfig); in setUp()
108 filterConfig = null; in tearDown()
DVarargsServletDispatchIntegrationTest.java188 public void init(ServletConfig filterConfig) throws ServletException { in init() argument
204 public void init(ServletConfig filterConfig) throws ServletException { in init() argument
220 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DServletDispatchIntegrationTest.java157 public void init(ServletConfig filterConfig) throws ServletException { in init() argument
173 public void init(ServletConfig filterConfig) throws ServletException { in init() argument
189 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DDummyFilterImpl.java43 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DFilterDispatchIntegrationTest.java218 public void init(FilterConfig filterConfig) { in init() argument
306 public void init(FilterConfig filterConfig) {} in init() argument
386 public void init(FilterConfig filterConfig) { in init() argument
DMultiModuleDispatchIntegrationTest.java99 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DVarargsFilterDispatchIntegrationTest.java168 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
DServletTest.java173 public void init(FilterConfig filterConfig) {} in testRequestAndResponseBindings_wrappingFilter()
235 public void init(FilterConfig filterConfig) {} in testRequestAndResponseBindings_matchesPassedParameters()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DGuiceFilter.java210 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
211 final ServletContext servletContext = filterConfig.getServletContext(); in init()
/external/guice/extensions/persist/src/com/google/inject/persist/
DPersistFilter.java78 public void init(FilterConfig filterConfig) throws ServletException { in init() argument