Home
last modified time | relevance | path

Searched refs:mockServlet (Results 1 – 2 of 2) sorted by relevance

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDefinitionTest.java60 final HttpServlet mockServlet = new HttpServlet() { in testServletInitAndConfig() local
63 .andReturn(mockServlet) in testServletInitAndConfig()
87 assertNotNull(mockServlet.getServletContext()); in testServletInitAndConfig()
88 assertEquals(contextName, mockServlet.getServletContext().getServletContextName()); in testServletInitAndConfig()
89 assertEquals(Key.get(HttpServlet.class).toString(), mockServlet.getServletName()); in testServletInitAndConfig()
91 final ServletConfig servletConfig = mockServlet.getServletConfig(); in testServletInitAndConfig()
DServletPipelineRequestDispatcherTest.java83 final HttpServlet mockServlet = new HttpServlet() { in testIncludeManagedServlet() local
98 .andReturn(mockServlet); in testIncludeManagedServlet()
153 final HttpServlet mockServlet = new HttpServlet() { in testForwardToManagedServlet() local
169 .andReturn(mockServlet); in testForwardToManagedServlet()
225 final HttpServlet mockServlet = new HttpServlet() { in forwardToManagedServletFailureOnCommittedBuffer() local
240 .andReturn(mockServlet); in forwardToManagedServletFailureOnCommittedBuffer()