| org.objectweb.jonas.jonasadmin.test.util.JonasAdminTestCase org.objectweb.jonas.jonasadmin.test.deploy.F_JonasAdminDeploy
F_JonasAdminDeploy | public class F_JonasAdminDeploy extends JonasAdminTestCase (Code) | | Define a class to test the JOnAS Admin console
Test authentication and deploy/undeploy ears
author: Florent Benoit |
F_JonasAdminDeploy | public F_JonasAdminDeploy(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 |
testTryBadAuth | public void testTryBadAuth() throws Exception(Code) | | Try to authenticate with a bad login/password
throws: Exception - if an error occurs |
testTryDeployUndeployEars | public void testTryDeployUndeployEars() throws Exception(Code) | | Deploy the ear with the testcase method and then, try to undeploy the ear with jonaAdmin
If it was undeployed, deploy it again with jonasAdmin
Test with ears alarm cmp2 and earsample
throws: Exception - if an error occurs |
testTryWithGoodAuth | public void testTryWithGoodAuth() throws Exception(Code) | | Try to authenticate with a right login/password
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)
|
|
|