| |
|
| org.objectweb.jonas.jonasadmin.test.util.JonasAdminTestCase org.objectweb.jonas.jonasadmin.test.deploy.F_JonasAdminDeployJar
F_JonasAdminDeployJar | public class F_JonasAdminDeployJar extends JonasAdminTestCase (Code) | | Class for testing deploy/undeploy Jars
author: Paul Kemler |
URL_JONASADMIN_DEPLOY | final protected static String URL_JONASADMIN_DEPLOY(Code) | | URL of the deployment
|
URL_JONASADMIN_DEPLOYJAR | final protected static String URL_JONASADMIN_DEPLOYJAR(Code) | | URL of the deployment of Jars
|
URL_JONASADMIN_REMOVE | final protected static String URL_JONASADMIN_REMOVE(Code) | | URL of REMOVE
|
URL_JONASADMIN_UPLOAD | final protected static String URL_JONASADMIN_UPLOAD(Code) | | URL of UPLOAD
|
F_JonasAdminDeployJar | public F_JonasAdminDeployJar(String s)(Code) | | Constructor with a specified name
Parameters: s - name |
main | public static void main(String[] args)(Code) | | Main method
Parameters: args - the arguments |
setUp | protected void setUp() throws Exception(Code) | | Setup need for these tests jonasAdmin is required
throws: Exception - if it fails |
suite | public static TestSuite suite()(Code) | | Get a new TestSuite for this class
a new TestSuite for this class |
testTryDeployUndeployJars | public void testTryDeployUndeployJars() throws Exception(Code) | | Deploy the war with the testcase method and then, try to undeploy the jar
with jonaAdmin If it was undeployed, deploy it again with jonasAdmin Test
with jar newsamplemdb.jar
throws: Exception - if an error occurs |
Methods inherited from org.objectweb.jonas.jonasadmin.test.util.JonasAdminTestCase | protected void callMainMethod(String classToLoad) throws Exception(Code)(Java Doc) protected void callMainMethod(String classToLoad, String[] args) throws Exception(Code)(Java Doc) protected void closeMBeanServer() throws Exception(Code)(Java Doc) protected void createLocalJmsUser(String name, String password) throws Exception(Code)(Java Doc) protected void createMailFactory(String mailFactory, Properties properties) throws Exception(Code)(Java Doc) protected void createQueue(String name, int idString) throws Exception(Code)(Java Doc) protected void createTopic(String name, int idString) throws Exception(Code)(Java Doc) public void debug(String msg)(Code)(Java Doc) protected String getAbsoluteUrl(String url)(Code)(Java Doc) protected Integer getIntegerMBeanAttribute(ObjectName on, String attName) throws Exception(Code)(Java Doc) protected ObjectName getJCAConnectionFactory(String name, String jcaResourceName)(Code)(Java Doc) protected MBeanServerConnection getMBeanServer() throws Exception(Code)(Java Doc) protected String getStringMBeanAttribute(ObjectName on, String attName) throws Exception(Code)(Java Doc) protected String getTime()(Code)(Java Doc) protected boolean isDatabaseService() throws Exception(Code)(Java Doc) protected boolean isInMailFactoryList(String mailFactory) throws Exception(Code)(Java Doc) protected boolean isJoramRar() throws Exception(Code)(Java Doc) protected boolean isLoadedDatasource(String datasource) throws Exception(Code)(Java Doc) public boolean isRarLoaded(String filename) throws Exception(Code)(Java Doc) protected void setUp() throws Exception(Code)(Java Doc) public void tearDown() throws Exception(Code)(Java Doc) protected void testTabs(WebTable tabTable, int nbTabs, int selectedTab, String msg)(Code)(Java Doc) protected void unBindMailFactory(String mailFactory) throws Exception(Code)(Java Doc) public void unUseBeans(String filename) throws Exception(Code)(Java Doc) protected void unUseDatasource(String datasource) throws Exception(Code)(Java Doc) public void unUseEar(String filename) throws Exception(Code)(Java Doc) protected void undeployAll(WebResponse wr) throws Exception(Code)(Java Doc) protected void undeployAllEar() throws Exception(Code)(Java Doc) protected void undeployAllJar() throws Exception(Code)(Java Doc) protected void undeployEar(String name) throws Exception(Code)(Java Doc) public void useBeans(String filename) throws Exception(Code)(Java Doc) protected void useDatasource(String datasource, Properties properties) throws Exception(Code)(Java Doc) public void useEar(String filename) throws Exception(Code)(Java Doc) public void useRar(String filename) throws Exception(Code)(Java Doc) public void useWar(String filename) throws Exception(Code)(Java Doc)
|
|
|
|