| Package | Description |
|---|---|
| org.springframework.boot.test.context.runner |
Test utilities to run application contexts for testing.
|
| org.springframework.boot.test.util |
General purpose test utilities.
|
| Modifier and Type | Method and Description |
|---|---|
protected ApplicationContextRunner |
ApplicationContextRunner.newInstance(Supplier<org.springframework.context.ConfigurableApplicationContext> contextFactory,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
org.springframework.context.ApplicationContext parent,
List<Configurations> configurations) |
protected ReactiveWebApplicationContextRunner |
ReactiveWebApplicationContextRunner.newInstance(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
org.springframework.context.ApplicationContext parent,
List<Configurations> configurations) |
protected WebApplicationContextRunner |
WebApplicationContextRunner.newInstance(Supplier<org.springframework.web.context.ConfigurableWebApplicationContext> contextFactory,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
org.springframework.context.ApplicationContext parent,
List<Configurations> configurations) |
| Modifier and Type | Method and Description |
|---|---|
TestPropertyValues |
TestPropertyValues.and(String... pairs)
Builder method to add more properties.
|
static TestPropertyValues |
TestPropertyValues.empty()
Return an empty
TestPropertyValues instance. |
static TestPropertyValues |
TestPropertyValues.of(Iterable<String> pairs)
Return a new
TestPropertyValues with the underlying map populated with the
given property pairs. |
static TestPropertyValues |
TestPropertyValues.of(Stream<String> pairs)
Return a new
TestPropertyValues with the underlying map populated with the
given property pairs. |
static TestPropertyValues |
TestPropertyValues.of(String... pairs)
Return a new
TestPropertyValues with the underlying map populated with the
given property pairs. |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.