Package | Description |
---|---|
org.springframework.boot.test.context.runner |
Test utilities to run application contexts for testing.
|
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<AbstractApplicationContextRunner.BeanRegistration<?>> beanRegistrations,
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<AbstractApplicationContextRunner.BeanRegistration<?>> beanRegistrations,
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<AbstractApplicationContextRunner.BeanRegistration<?>> beanRegistrations,
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<AbstractApplicationContextRunner.BeanRegistration<?>> beanRegistrations,
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<AbstractApplicationContextRunner.BeanRegistration<?>> beanRegistrations,
List<Configurations> configurations)
Create a new
AbstractApplicationContextRunner instance. |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.