| |
|
| org.objectweb.jonas.jonasadmin.test.util.JonasAdminTestCase org.objectweb.jonas.jonasadmin.test.monitoring.F_JonasAdminNumberOfMeasures
F_JonasAdminNumberOfMeasures | public class F_JonasAdminNumberOfMeasures extends JonasAdminTestCase (Code) | | Test the modification of the number of measures
author: kemlerp |
F_JonasAdminNumberOfMeasures | public F_JonasAdminNumberOfMeasures(String s)(Code) | | Constructor with a specified name
Parameters: s - name |
calculateWidth | public int calculateWidth(String nbMeasures)(Code) | | Calculate the width of Memory image
Parameters: nbMeasures - number of measures width |
main | public static void main(String[] args)(Code) | | Main method
Parameters: args - the arguments |
modifyNbMeasures | public WebResponse modifyNbMeasures(String nbMeasures) throws Exception(Code) | | Modify number of measures
Parameters: nbMeasures - number of measures response throws: Exception - if error occurs |
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 |
tearDown | public void tearDown() throws Exception(Code) | | Setup need for these tests
jonasAdmin is required
throws: Exception - if it fails |
testNbMeasuresLessThanOne | public void testNbMeasuresLessThanOne() throws Exception(Code) | | Test image width with a number of measures is 1
throws: Exception - if error occurs |
testNotIntegerNbMeasures | public void testNotIntegerNbMeasures() throws Exception(Code) | | Test image width with a number of measures is not an integer
throws: Exception - if error occurs |
testValidNbMeasures | public void testValidNbMeasures() throws Exception(Code) | | Test image width with a good value
throws: Exception - if 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)
|
|
|
|