<BUG>File appDir = new File(getBuildDirectory(), "webapps/examples");tomcat.addWebapp(null, "/examples", appDir.getAbsolutePath());tomcat.start();</BUG><CONTEXT>assertEquals("Hello world", res.toString());}@Testpublic void testSingleWebapp() throws Exception {Tomcat tomcat = getTomcatInstance();<extra_id_0>ByteChunk res = getUrl("http://localhost:" + getPort() +"/examples/servlets/servlet/HelloWorldExample");</CONTEXT>
org.apache.catalina.Context ctxt  = tomcat.addWebapp(ctxt.addApplicationListener(WsListener.class.getName());tomcat.start();