1 22 package org.jboss.test.hotdeploy; 23 24 import junit.framework.Test; 25 import org.jboss.test.JBossTestCase; 26 27 import java.net.URL ; 28 29 30 36 public class HotdeployTestCase 37 extends JBossTestCase 38 { 39 org.jboss.logging.Logger log = getLog(); 40 41 static boolean deployed = false; 42 static int test = 0; 43 44 public HotdeployTestCase(String name) 45 { 46 47 super(name); 48 49 } 50 51 public void testRemote() throws Exception 52 { 53 URL url = new URL ("http://localhost:8080/hotdeploy/AOP"); 54 url.openConnection().getContent(); 55 } 56 57 public static Test suite() throws Exception 58 { 59 return getDeploySetup(HotdeployTestCase.class, "hotdeploy.war"); 60 } 61 62 } 63 | Popular Tags |