Home
last modified time | relevance | path

Searched refs:TestServlet (Results 1 – 4 of 4) sorted by relevance

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DContextPathTest.java47 private TestServlet fooServlet;
51 private TestServlet barServlet;
66 bind(TestServlet.class) in setUp()
68 .to(TestServlet.class) in setUp()
70 bind(TestServlet.class) in setUp()
72 .to(TestServlet.class) in setUp()
74 serve("/foo/*").with(Key.get(TestServlet.class, Names.named("foo"))); in setUp()
75 serve("/bar/*").with(Key.get(TestServlet.class, Names.named("bar"))); in setUp()
270 public static class TestServlet extends HttpServlet { class in ContextPathTest
DVarargsServletDispatchIntegrationTest.java67 serve("/*", "/index.html").with(TestServlet.class); in testDispatchRequestToManagedPipelineServlets()
110 serve("/notindex", "/&*", "/index.html").with(TestServlet.class); in testVarargsSkipDispatchRequestToManagedPipelineServlets()
155 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineWithFilter()
192 public static class TestServlet extends HttpServlet { class in VarargsServletDispatchIntegrationTest
DServletDispatchIntegrationTest.java69 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineServlets()
118 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineWithFilter()
160 public static class TestServlet extends HttpServlet { class in ServletDispatchIntegrationTest
287 serveRegex("(.)*\\.html").with(TestServlet.class); in testQueryInRequestUri_regex()
323 serve("/index.html").with(TestServlet.class); in testQueryInRequestUri()
DFilterDispatchIntegrationTest.java83 serve("*.html").with(TestServlet.class); in testDispatchRequestToManagedPipeline()
112 TestServlet servlet = injector.getInstance(TestServlet.class); in testDispatchRequestToManagedPipeline()
115 assertTrue(servlet.processedUris.contains(TestServlet.FORWARD_TO)); in testDispatchRequestToManagedPipeline()
285 public static class TestServlet extends HttpServlet { class in FilterDispatchIntegrationTest