[jboss-cvs] JBossAS SVN: r103136 - trunk/testsuite/src/main/org/jboss/test/deployers/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Mar 29 10:30:19 EDT 2010
Author: emuckenhuber
Date: 2010-03-29 10:30:18 -0400 (Mon, 29 Mar 2010)
New Revision: 103136
Modified:
trunk/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java
Log:
specify test methods.
Modified: trunk/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java 2010-03-29 14:27:53 UTC (rev 103135)
+++ trunk/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java 2010-03-29 14:30:18 UTC (rev 103136)
@@ -27,6 +27,9 @@
import java.net.URI;
import java.util.Collection;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
import org.jboss.deployers.spi.management.ManagementView;
import org.jboss.deployers.spi.management.deploy.DeploymentProgress;
import org.jboss.managed.api.ComponentType;
@@ -53,6 +56,21 @@
/** A deployment picked up by the HDScanner. */
private final static String HD_DEPLOYMENT = "hd-jboss-beans.xml";
+ public static Test suite() throws Exception
+ {
+ TestSuite suite = new TestSuite();
+
+ suite.addTest(new DeploymentManagerUnitTestCase("testAvaiableProfiles"));
+ suite.addTest(new DeploymentManagerUnitTestCase("testDistributeOverride"));
+ suite.addTest(new DeploymentManagerUnitTestCase("testCopyContent"));
+ suite.addTest(new DeploymentManagerUnitTestCase("testDeploymentOptions"));
+ suite.addTest(new DeploymentManagerUnitTestCase("testDeployersDir"));
+ suite.addTest(new DeploymentManagerUnitTestCase("testRemoveConflict"));
+ suite.addTest(new DeploymentManagerUnitTestCase("testHotDeploymentBeans"));
+
+ return suite;
+ }
+
public DeploymentManagerUnitTestCase(String name)
{
super(name);
@@ -83,12 +101,11 @@
final String deploymentName = getName() + ".ear";
try
{
+ //
+ DeploymentProgress start = distributeAndStart(NESTED_DEPLOYMENT, deploymentName, true, true);
+ assertComplete(start);
for(int i = 0; i < 5; i++)
{
- //
- DeploymentProgress start = distributeAndStart(NESTED_DEPLOYMENT, deploymentName, true, false);
- assertComplete(start);
-
// disable stopped check, as it was started before
start = distributeAndStart(NESTED_DEPLOYMENT, deploymentName, true, false);
assertComplete(start);
More information about the jboss-cvs-commits
mailing list