/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | InjectedFilterPipelineTest.java | 80 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 …]
|
D | FilterPipelineTest.java | 64 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
|
D | ContinuingRequestIntegrationTest.java | 120 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()
|
D | FilterDefinitionTest.java | 75 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()
|
D | ContextPathTest.java | 58 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()
|
D | VarargsServletDispatchIntegrationTest.java | 188 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
|
D | ServletDispatchIntegrationTest.java | 157 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
|
D | DummyFilterImpl.java | 43 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
|
D | FilterDispatchIntegrationTest.java | 218 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
|
D | MultiModuleDispatchIntegrationTest.java | 99 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
|
D | VarargsFilterDispatchIntegrationTest.java | 168 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
|
D | ServletTest.java | 173 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/ |
D | GuiceFilter.java | 210 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/ |
D | PersistFilter.java | 78 public void init(FilterConfig filterConfig) throws ServletException { in init() argument
|