com.xebialabs.deployit.test.support
Class DeployedItestBase
java.lang.Object
com.xebialabs.deployit.test.support.DeployedItestBase
public abstract class DeployedItestBase
- extends java.lang.Object
- See Also:
- https://intranet.xebia.com/confluence/display/Labs/Deployed Itesting with xml
|
Constructor Summary |
DeployedItestBase(java.lang.String description,
java.io.File deployedPropertiesFile,
ItestTopology topology,
com.xebialabs.deployit.plugin.api.udm.Container container)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
folder
public org.junit.rules.TemporaryFolder folder
topology
protected ItestTopology topology
container
protected com.xebialabs.deployit.plugin.api.udm.Container container
DeployedItestBase
public DeployedItestBase(java.lang.String description,
java.io.File deployedPropertiesFile,
ItestTopology topology,
com.xebialabs.deployit.plugin.api.udm.Container container)
getTargets
public static java.util.List<java.lang.Object[]> getTargets()
throws java.net.URISyntaxException,
java.io.IOException,
org.jdom2.JDOMException
- Throws:
java.net.URISyntaxException
java.io.IOException
org.jdom2.JDOMException
clearAdditionalTypesToDiscoverAndRequiredDeployeds
public void clearAdditionalTypesToDiscoverAndRequiredDeployeds()
clearInspectionContext
public void clearInspectionContext()
setup
public static void setup()
tearDown
public static void tearDown()
shouldCreateAndDestroyDeployed
public void shouldCreateAndDestroyDeployed()
throws java.lang.Exception
- Throws:
java.lang.Exception
setDeployMode
protected void setDeployMode(java.lang.String deployModeAttribute)
getDeployMode
protected DeployedItestBase.DeployMode getDeployMode()
cloneForInspection
public java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> cloneForInspection(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> deployeds)
shouldCheckDeployedsDoNotExistBeforeCreating
protected boolean shouldCheckDeployedsDoNotExistBeforeCreating()
shouldCreateDeployed
protected boolean shouldCreateDeployed()
shouldCheckDeployedsCreatedCorrectly
protected boolean shouldCheckDeployedsCreatedCorrectly()
shouldDestroyDeployeds
protected boolean shouldDestroyDeployeds()
shouldCheckDeployedsDoNotExistAfterDelete
protected boolean shouldCheckDeployedsDoNotExistAfterDelete()
getCiToPerformInspectionOn
protected abstract com.xebialabs.deployit.plugin.api.udm.ConfigurationItem getCiToPerformInspectionOn(java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> typesToDiscover)