public class Tomcat5TestCase extends TestCase {
boolean enable = false;
public void testTomcat5() throws Exception {
if (enable) {
Tomcat5Embedded emb = new Tomcat5Embedded();
emb.setHomePath("target/tomcat");
emb.startServer();
Thread.sleep(2000);
assertTrue("Tomcat5 started", emb.hasStarted());
// emb.createContext("target/../identity-samples/samples/employee/target/employee.war");
emb.stopServer();
Thread.sleep(1000);
assertTrue(emb.hasStopped());
}
}