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.
|
Constructor and Description |
---|
AbstractApplicationContextRunner(Supplier<C> contextFactory,
List<ApplicationContextInitializer<? super C>> initializers,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
ApplicationContext parent,
List<Configurations> configurations)
Create a new
AbstractApplicationContextRunner instance. |
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 © 2019 Pivotal Software, Inc.. All rights reserved.