com.xebialabs.deployit.test.support
Class TestUtils

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

Deprecated. Use com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.TestUtils#createEnvironment(com.xebialabs.deployit.plugin.api.udm.Container...)
static java.lang.String id(java.lang.String... names)
          Deprecated. Use com.xebialabs.platform.test.TestUtils#id(String...)
static
<T> T
newInstance(java.lang.Class<T> clazz)
          Deprecated. Use com.xebialabs.platform.test.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 com.xebialabs.platform.test.TestUtils#newInstance(Class, String)
static
<T> T
newInstance(java.lang.String type)
          Deprecated. Use com.xebialabs.platform.test.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 com.xebialabs.platform.test.TestUtils#newInstance(String, String)
static java.lang.String readResource(java.lang.String resource)
          Deprecated. Use com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.TestUtils#newInstance(String)


newInstance

@Deprecated
public static <T> T newInstance(java.lang.Class<T> clazz)
Deprecated. Use com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.TestUtils#newInstance(String, String)


id

@Deprecated
public static java.lang.String id(java.lang.String... names)
Deprecated. Use com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.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 com.xebialabs.platform.test.TestUtils#createArtifactWithoutCopy(String, String, String, String, File)

Throws:
java.net.URISyntaxException