Searched refs:DummyServlet (Results 1 – 5 of 5) sorted by relevance
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ExtensionSpiTest.java | 50 private DummyServlet dummyServlet1 = new DummyServlet(); 51 private DummyServlet dummyServlet2 = new DummyServlet(); 52 private DummyServlet dummyServlet3 = new DummyServlet(); 53 private DummyServlet dummyServlet4 = new DummyServlet(); 107 new Params("/class", Key.get(DummyServlet.class), ImmutableMap.of(), SERVLET), in validateVisitor() 108 new Params("/class/2", Key.get(DummyServlet.class), ImmutableMap.of(), SERVLET), in validateVisitor() 109 … new Params("/key", Key.get(DummyServlet.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor() 110 … new Params("/key/2", Key.get(DummyServlet.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor() 113 …new Params("/class/keyvalues", Key.get(DummyServlet.class), ImmutableMap.of("key", "value"), SERVL… in validateVisitor() 114 …new Params("/class/keyvalues/2", Key.get(DummyServlet.class), ImmutableMap.of("key", "value"), SER… in validateVisitor() [all …]
|
D | EdslTest.java | 46 bind(DummyServlet.class).in(Singleton.class); in testExplicitBindingsWorksWithGuiceServlet() 47 serve("/*").with(DummyServlet.class); in testExplicitBindingsWorksWithGuiceServlet() 51 assertNotNull(injector.getInstance(DummyServlet.class)); in testExplicitBindingsWorksWithGuiceServlet() 82 serve("/1/*").with(DummyServlet.class); in testConfigureServlets() 83 serve("/2/*").with(Key.get(DummyServlet.class)); in testConfigureServlets() 84 serve("/3/*").with(new DummyServlet()); in testConfigureServlets() 85 serve("/4/*").with(DummyServlet.class, new HashMap<String, String>()); in testConfigureServlets() 87 serve("*.htm").with(Key.get(DummyServlet.class)); in testConfigureServlets() 88 serve("*.html").with(Key.get(DummyServlet.class), in testConfigureServlets() 91 serveRegex("/person/[0-8]*").with(DummyServlet.class); in testConfigureServlets() [all …]
|
D | ServletModuleTest.java | 40 serve("/*").with(DummyServlet.class); in testServletModuleCallOutsideConfigure() 71 serve("/sam/*").with(new DummyServlet()); in configureServlets()
|
D | DummyServlet.java | 28 public class DummyServlet extends HttpServlet { class
|
D | MultipleServletInjectorsTest.java | 69 serve("/*").with(DummyServlet.class); in testTwoInjectors()
|