Package | Description |
---|---|
org.springframework.boot.autoconfigure |
Spring Boot's auto-configuration capabilities.
|
org.springframework.boot.context.annotation |
Classes related to Spring's
ApplicationContext
annotations. |
org.springframework.boot.test.context.runner |
Test utilities to run application contexts for testing.
|
Modifier and Type | Class and Description |
---|---|
class |
AutoConfigurations
Configurations representing auto-configuration @Configuration classes. |
Modifier and Type | Class and Description |
---|---|
class |
UserConfigurations
Configurations representing user-defined @Configuration classes (i.e. |
Modifier and Type | Method and Description |
---|---|
protected Configurations |
Configurations.merge(Configurations other)
Merge configurations from another source of the same type.
|
protected abstract Configurations |
Configurations.merge(Set<Class<?>> mergedClasses)
Merge configurations.
|
Modifier and Type | Method and Description |
---|---|
static Class<?>[] |
Configurations.getClasses(Configurations... configurations)
Return the classes from all the specified configurations in the order that they
would be registered.
|
protected Configurations |
Configurations.merge(Configurations other)
Merge configurations from another source of the same type.
|
Modifier and Type | Method and Description |
---|---|
static Class<?>[] |
Configurations.getClasses(Collection<Configurations> configurations)
Return the classes from all the specified configurations in the order that they
would be registered.
|
Modifier and Type | Method and Description |
---|---|
SELF |
AbstractApplicationContextRunner.withConfiguration(Configurations configurations)
Register the specified configuration classes with the
ApplicationContext . |
Modifier and Type | Method and Description |
---|---|
protected abstract SELF |
AbstractApplicationContextRunner.newInstance(Supplier<C> contextFactory,
List<org.springframework.context.ApplicationContextInitializer<? super C>> initializers,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
org.springframework.context.ApplicationContext parent,
List<Configurations> configurations) |
protected ApplicationContextRunner |
ApplicationContextRunner.newInstance(Supplier<org.springframework.context.ConfigurableApplicationContext> contextFactory,
List<org.springframework.context.ApplicationContextInitializer<? super org.springframework.context.ConfigurableApplicationContext>> initializers,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
org.springframework.context.ApplicationContext parent,
List<Configurations> configurations) |
protected ReactiveWebApplicationContextRunner |
ReactiveWebApplicationContextRunner.newInstance(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory,
List<org.springframework.context.ApplicationContextInitializer<? super ConfigurableReactiveWebApplicationContext>> initializers,
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,
List<org.springframework.context.ApplicationContextInitializer<? super org.springframework.web.context.ConfigurableWebApplicationContext>> initializers,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
org.springframework.context.ApplicationContext parent,
List<Configurations> configurations) |
Constructor and Description |
---|
AbstractApplicationContextRunner(Supplier<C> contextFactory,
List<org.springframework.context.ApplicationContextInitializer<? super C>> initializers,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
org.springframework.context.ApplicationContext parent,
List<Configurations> configurations)
Create a new
AbstractApplicationContextRunner instance. |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.