com.xebialabs.deployit.test.support
Class DeployedItestBase

java.lang.Object
  extended by 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

Nested Class Summary
protected static class DeployedItestBase.DeployMode
           
 
Field Summary
protected  com.xebialabs.deployit.plugin.api.udm.Container container
           
 org.junit.rules.TemporaryFolder folder
           
protected  ItestTopology topology
           
 
Constructor Summary
DeployedItestBase(java.lang.String description, java.io.File deployedPropertiesFile, ItestTopology topology, com.xebialabs.deployit.plugin.api.udm.Container container)
           
 
Method Summary
 void clearAdditionalTypesToDiscoverAndRequiredDeployeds()
           
 void clearInspectionContext()
           
 java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> cloneForInspection(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> deployeds)
           
protected abstract  com.xebialabs.deployit.plugin.api.udm.ConfigurationItem getCiToPerformInspectionOn(java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> typesToDiscover)
           
protected  DeployedItestBase.DeployMode getDeployMode()
           
static java.util.List<java.lang.Object[]> getTargets()
           
protected  void setDeployMode(java.lang.String deployModeAttribute)
           
static void setup()
           
protected  boolean shouldCheckDeployedsCreatedCorrectly()
           
protected  boolean shouldCheckDeployedsDoNotExistAfterDelete()
           
protected  boolean shouldCheckDeployedsDoNotExistBeforeCreating()
           
 void shouldCreateAndDestroyDeployed()
           
protected  boolean shouldCreateDeployed()
           
protected  boolean shouldDestroyDeployeds()
           
static void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

folder

public org.junit.rules.TemporaryFolder folder

topology

protected ItestTopology topology

container

protected com.xebialabs.deployit.plugin.api.udm.Container container
Constructor Detail

DeployedItestBase

public DeployedItestBase(java.lang.String description,
                         java.io.File deployedPropertiesFile,
                         ItestTopology topology,
                         com.xebialabs.deployit.plugin.api.udm.Container container)
Method Detail

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)