com.xebialabs.deployit.test.support
Class TestUtils

java.lang.Object
  extended by com.xebialabs.deployit.test.support.TestUtils

Deprecated. Use TestUtils

@Deprecated
public class TestUtils
extends java.lang.Object


Constructor Summary
TestUtils()
          Deprecated.  
 
Method Summary
static
<T extends com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact>
T
createArtifact(java.lang.String name, java.lang.String version, java.lang.String classpathResource, java.lang.String type, java.io.File workingFolder)
          Deprecated. Use TestUtils.createArtifact(String, String, String, String, File)
static
<T extends com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact>
T
createArtifactWithoutCopy(java.lang.String name, java.lang.String version, java.lang.String classpathResource, java.lang.String type, java.io.File workingFolder)
          Deprecated. Use TestUtils.createArtifactWithoutCopy(String, String, String, String, File)
static com.xebialabs.deployit.plugin.api.udm.DeployedApplication createDeployedApplication(com.xebialabs.deployit.plugin.api.udm.DeploymentPackage pkg, com.xebialabs.deployit.plugin.api.udm.Environment env)
          Deprecated.  
static com.xebialabs.deployit.plugin.api.udm.DeploymentPackage createDeploymentPackage(com.xebialabs.deployit.plugin.api.udm.Deployable... deployables)
          Deprecated. Use TestUtils.createDeploymentPackage(com.xebialabs.deployit.plugin.api.udm.Deployable...)
static com.xebialabs.deployit.plugin.api.udm.DeploymentPackage createDeploymentPackage(java.lang.String version, com.xebialabs.deployit.plugin.api.udm.Deployable... deployables)
          Deprecated. Use TestUtils.createDeploymentPackage(String, com.xebialabs.deployit.plugin.api.udm.Deployable...)
static com.xebialabs.deployit.plugin.api.udm.Environment createEnvironment(com.xebialabs.deployit.plugin.api.udm.Container... containers)
          Deprecated. Use TestUtils.createEnvironment(com.xebialabs.deployit.plugin.api.udm.Container...)
static java.lang.String id(java.lang.String... names)
          Deprecated. Use TestUtils.id(String...)
static
<T> T
newInstance(java.lang.Class<T> clazz)
          Deprecated. Use TestUtils.newInstance(Class)
static
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
T
newInstance(java.lang.Class<T> clazz, java.lang.String id)
          Deprecated. Use TestUtils.newInstance(Class, String)
static
<T> T
newInstance(java.lang.String type)
          Deprecated. Use TestUtils.newInstance(String)
static
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
T
newInstance(java.lang.String type, java.lang.String id)
          Deprecated. Use TestUtils.newInstance(String, String)
static java.lang.String readResource(java.lang.String resource)
          Deprecated. Use TestUtils.readResource(String)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtils

public TestUtils()
Deprecated. 
Method Detail

readResource

@Deprecated
public static java.lang.String readResource(java.lang.String resource)
                                     throws java.io.IOException
Deprecated. Use TestUtils.readResource(String)

Returns resource content as a string

Throws:
java.io.IOException

newInstance

@Deprecated
public static <T> T newInstance(java.lang.String type)
Deprecated. Use TestUtils.newInstance(String)


newInstance

@Deprecated
public static <T> T newInstance(java.lang.Class<T> clazz)
Deprecated. Use TestUtils.newInstance(Class)


newInstance

@Deprecated
public static <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T newInstance(java.lang.Class<T> clazz,
                                                                                                           java.lang.String id)
Deprecated. Use TestUtils.newInstance(Class, String)


newInstance

@Deprecated
public static <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T newInstance(java.lang.String type,
                                                                                                           java.lang.String id)
Deprecated. Use TestUtils.newInstance(String, String)


id

@Deprecated
public static java.lang.String id(java.lang.String... names)
Deprecated. Use TestUtils.id(String...)


createDeploymentPackage

@Deprecated
public static com.xebialabs.deployit.plugin.api.udm.DeploymentPackage createDeploymentPackage(com.xebialabs.deployit.plugin.api.udm.Deployable... deployables)
Deprecated. Use TestUtils.createDeploymentPackage(com.xebialabs.deployit.plugin.api.udm.Deployable...)


createDeploymentPackage

@Deprecated
public static com.xebialabs.deployit.plugin.api.udm.DeploymentPackage createDeploymentPackage(java.lang.String version,
                                                                                                         com.xebialabs.deployit.plugin.api.udm.Deployable... deployables)
Deprecated. Use TestUtils.createDeploymentPackage(String, com.xebialabs.deployit.plugin.api.udm.Deployable...)


createEnvironment

@Deprecated
public static com.xebialabs.deployit.plugin.api.udm.Environment createEnvironment(com.xebialabs.deployit.plugin.api.udm.Container... containers)
Deprecated. Use TestUtils.createEnvironment(com.xebialabs.deployit.plugin.api.udm.Container...)


createDeployedApplication

public static com.xebialabs.deployit.plugin.api.udm.DeployedApplication createDeployedApplication(com.xebialabs.deployit.plugin.api.udm.DeploymentPackage pkg,
                                                                                                  com.xebialabs.deployit.plugin.api.udm.Environment env)
Deprecated. 

createArtifact

@Deprecated
public static <T extends com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact> T createArtifact(java.lang.String name,
                                                                                                                    java.lang.String version,
                                                                                                                    java.lang.String classpathResource,
                                                                                                                    java.lang.String type,
                                                                                                                    java.io.File workingFolder)
                                                                                              throws java.io.IOException
Deprecated. Use TestUtils.createArtifact(String, String, String, String, File)

Throws:
java.io.IOException

createArtifactWithoutCopy

@Deprecated
public static <T extends com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact> T createArtifactWithoutCopy(java.lang.String name,
                                                                                                                               java.lang.String version,
                                                                                                                               java.lang.String classpathResource,
                                                                                                                               java.lang.String type,
                                                                                                                               java.io.File workingFolder)
                                                                                                         throws java.net.URISyntaxException
Deprecated. Use TestUtils.createArtifactWithoutCopy(String, String, String, String, File)

Throws:
java.net.URISyntaxException