@SpringBootTest(webEnvironment=NONE) @ContextConfiguration(classes=AbstractIntegrationTests.Config.class) public abstract class AbstractIntegrationTests extends Object
AppDeployer
and
TaskLauncher
tests.
Subclasses should explicitly declare additional config that should be used via the use of .
Modifier and Type | Class and Description |
---|---|
static class |
AbstractIntegrationTests.Config |
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
protected MavenProperties |
mavenProperties |
org.junit.rules.TestName |
name |
Constructor and Description |
---|
AbstractIntegrationTests() |
Modifier and Type | Method and Description |
---|---|
protected Timeout |
deploymentTimeout()
Return the timeout to use for repeatedly querying app status while it is being deployed.
|
protected String |
randomName() |
protected int |
redeploymentPause()
Return the time to wait between reusing deployment requests.
|
protected org.springframework.core.io.Resource |
testApplication()
Return a resource corresponding to the spring-cloud-deployer-spi-test-app app suitable for the target runtime.
|
protected Timeout |
undeploymentTimeout()
Return the timeout to use for repeatedly querying app status while it is being un-deployed.
|
protected final org.slf4j.Logger log
public org.junit.rules.TestName name
@Autowired protected MavenProperties mavenProperties
protected String randomName()
protected Timeout deploymentTimeout()
protected Timeout undeploymentTimeout()
protected int redeploymentPause()
protected org.springframework.core.io.Resource testApplication()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.