[Jboss-cvs] JBossAS SVN: r56696 - branches/Branch_4_0/testsuite/src/main/org/jboss/test/jmx/test
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Sep 9 11:39:15 EDT 2006
Author: dimitris at jboss.org
Date: 2006-09-09 11:39:13 -0400 (Sat, 09 Sep 2006)
New Revision: 56696
Modified:
branches/Branch_4_0/testsuite/src/main/org/jboss/test/jmx/test/DeployXMBeanUnitTestCase.java
Log:
JBAS-3604, the execution order of tests in this test case is important so it must be defined explicitly when running under some JVMs
Modified: branches/Branch_4_0/testsuite/src/main/org/jboss/test/jmx/test/DeployXMBeanUnitTestCase.java
===================================================================
--- branches/Branch_4_0/testsuite/src/main/org/jboss/test/jmx/test/DeployXMBeanUnitTestCase.java 2006-09-09 15:38:37 UTC (rev 56695)
+++ branches/Branch_4_0/testsuite/src/main/org/jboss/test/jmx/test/DeployXMBeanUnitTestCase.java 2006-09-09 15:39:13 UTC (rev 56696)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.test.jmx.test;
import javax.management.Attribute;
@@ -27,6 +27,9 @@
import javax.naming.InitialContext;
import javax.naming.Name;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
import org.jboss.security.SecurityAssociation;
import org.jboss.security.SimplePrincipal;
import org.jboss.test.JBossTestCase;
@@ -49,6 +52,26 @@
super(name);
}
+ public static Test suite() throws Exception
+ {
+ // JBAS-3604, the execution order of tests in this test case is important
+ // so it must be defined explicitly when running under some JVMs
+ TestSuite suite = new TestSuite();
+ suite.addTest(new DeployXMBeanUnitTestCase("testDeployXdocletUserXMBean"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testGeneratedAVCFromWrappedStandardMBeanImpl"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testDeployUserXMBean"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testDeployUserEmbeddedDescriptorXMBean"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testUserXMBeanValues"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testUserXMBeanPersistentValues"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testUserXMBeanPersistentValuesWithCustomPM"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testSecuredXMBean"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testSecuredJndiXMBean"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testPersistentJndiXMBean"));
+ suite.addTest(new DeployXMBeanUnitTestCase("testXMBeanExternalEntityImport"));
+
+ return suite;
+ }
+
/** Test the xdoclet generated xmbean descriptor
* @throws Exception on failure
*/
@@ -549,4 +572,4 @@
}
}
-}// DeployXMBeanUnitTestCase
+}
More information about the jboss-cvs-commits
mailing list