|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.sample.java.EnvironmentTestData
Groups together all environmental test datat (ie data that depends on how the user has configured its tests to run in Maven).
Field Summary | |
java.lang.String |
containerId
Name of container to run (this is the container ID, see Container.getId() . |
long |
containerTimeout
Timeout to test if a container is correctly started or stopped. |
org.codehaus.cargo.container.ContainerType |
containerType
The container type (local, remote, etc) |
java.lang.String |
home
Home for the already installed container (in that case installDir and installURL are ignored). |
java.lang.String |
installDir
Location where to put the zipped distributions and where to unpack them. |
java.net.URL |
installURL
URL where the zipped container is located. |
int |
port
Port on which to start the web container. |
org.codehaus.cargo.container.installer.Proxy |
proxy
Proxy properties if defined (can be null). |
java.lang.String |
targetDir
Target directory where build results are stored and where container execution will happen. |
java.lang.String |
version
Version of Cargo being built (this is required to compute the exact location of the test data files in the local Maven repository) |
Constructor Summary | |
EnvironmentTestData(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
java.lang.String targetDirSuffix)
|
Method Summary | |
java.lang.String |
getTestDataFileFor(java.lang.String artifactName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String containerId
Container.getId()
. We use it guess the XML name of
the Ant task.
public org.codehaus.cargo.container.ContainerType containerType
public java.net.URL installURL
public java.lang.String installDir
public int port
public long containerTimeout
public java.lang.String targetDir
public java.lang.String home
public java.lang.String version
public org.codehaus.cargo.container.installer.Proxy proxy
Constructor Detail |
public EnvironmentTestData(java.lang.String containerId, org.codehaus.cargo.container.ContainerType containerType, java.lang.String targetDirSuffix)
containerId
- the container's name (eg "resin3x")containerType
- the container's typetargetDirSuffix
- relative directory from the base target dir where to put
test-generated filesMethod Detail |
public java.lang.String getTestDataFileFor(java.lang.String artifactName)
artifactName
- the artifact for which to return the location (eg "simple-war").
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |