Class TestDescription
java.lang.Object
org.jboss.as.arquillian.protocol.jmx.TestDescription
A simple definition describing a test deployment.
- Author:
- James R. Perkins
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTestDescription(org.jboss.arquillian.container.test.spi.TestDeployment testDeployment) Creates a test description based on the test deployment and attaches the description to the deployment for later usage.The name of the deployment relevant to Arquillian.The deployments name.booleanstatic TestDescriptionfrom(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) Gets the test description from the deployment.inthashCode()The container the test and deployment target.toString()
-
Method Details
-
from
Gets the test description from the deployment.- Parameters:
deploymentUnit- the deployment unit- Returns:
- the test description from the deployment
-
addTestDescription
public static void addTestDescription(org.jboss.arquillian.container.test.spi.TestDeployment testDeployment) Creates a test description based on the test deployment and attaches the description to the deployment for later usage. For EAR's this attaches the configuration to each module in the EAR.- Parameters:
testDeployment- the test deployment to gather information from
-
targetContainer
The container the test and deployment target.- Returns:
- the optional name of the target container for the test
-
deploymentName
The deployments name. This will be the name of the deployed archive.- Returns:
- the deployments name
-
arquillianDeploymentName
The name of the deployment relevant to Arquillian. This is the value fromDeployment.name()- Returns:
- the optional name of the arquillian deployment
-
equals
-
hashCode
public int hashCode() -
toString
-