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 deployedChangeSetXmlFile,
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
deployedChangeSet
protected DeployedItestChangeSet deployedChangeSet
DeployedItestBase
public DeployedItestBase(java.lang.String description,
java.io.File deployedChangeSetXmlFile,
ItestTopology topology,
com.xebialabs.deployit.plugin.api.udm.Container container)
getTargets
public static java.util.List<java.lang.Object[]> getTargets()
throws java.lang.Exception
- Throws:
java.lang.Exception
takeCareOfVagrantImages
public void takeCareOfVagrantImages()
prepareDeployedChangeSet
public void prepareDeployedChangeSet()
throws org.jdom2.JDOMException,
java.io.IOException
- Throws:
org.jdom2.JDOMException
java.io.IOException
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
createDeployeds
protected void createDeployeds(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> deployeds)
modifyDeployeds
protected void modifyDeployeds(DeployedItestChangeSet deployedChangeSet)
destroyDeployeds
protected void destroyDeployeds(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> deployeds)
assertDeployedsDoNotExist
protected void assertDeployedsDoNotExist(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> deployeds)
assertDeployedsWereCreatedCorrectly
protected void assertDeployedsWereCreatedCorrectly(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> expectedDeployeds)
assertDeployedWasCreatedCorrectly
protected void assertDeployedWasCreatedCorrectly(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem expectedDeployed,
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem actualDeployed)
inspectDeployeds
protected java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> inspectDeployeds(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> deployeds)
shouldCheckDeployedsDoNotExistBeforeCreating
protected boolean shouldCheckDeployedsDoNotExistBeforeCreating()
shouldCreateDeployed
protected boolean shouldCreateDeployed()
shouldCheckDeployedsCreatedCorrectly
protected boolean shouldCheckDeployedsCreatedCorrectly()
shouldCheckDeployedsModifiedCorrectly
protected boolean shouldCheckDeployedsModifiedCorrectly()
shouldModifyDeployeds
protected boolean shouldModifyDeployeds()
shouldDestroyDeployeds
protected boolean shouldDestroyDeployeds()
shouldCheckDeployedsDoNotExistAfterDelete
protected boolean shouldCheckDeployedsDoNotExistAfterDelete()
getCiToPerformInspectionOn
protected com.xebialabs.deployit.plugin.api.udm.ConfigurationItem getCiToPerformInspectionOn(java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> typesToDiscover)