Package | Description |
---|---|
org.springframework.boot.test.context.assertj |
AssertJ support for ApplicationContexts.
|
org.springframework.boot.test.context.runner |
Test utilities to run application contexts for testing.
|
org.springframework.boot.web.reactive.context |
Reactive based web integrations with Spring's
ApplicationContext . |
Modifier and Type | Interface and Description |
---|---|
interface |
AssertableReactiveWebApplicationContext
A
ReactiveWebApplicationContext that additionally supports AssertJ style
assertions. |
Modifier and Type | Method and Description |
---|---|
static AssertableReactiveWebApplicationContext |
AssertableReactiveWebApplicationContext.get(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier)
Factory method to create a new
AssertableReactiveWebApplicationContext
instance. |
Modifier and Type | Method and Description |
---|---|
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 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) |
Constructor and Description |
---|
ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory)
Create a new
ApplicationContextRunner instance using the specified
contextFactory as the underlying source. |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationConfigReactiveWebApplicationContext
ConfigurableReactiveWebApplicationContext that accepts annotated classes as
input - in particular
@Configuration -annotated
classes, but also plain @Component classes and JSR-330 compliant
classes using javax.inject annotations. |
class |
AnnotationConfigReactiveWebServerApplicationContext
ReactiveWebServerApplicationContext that accepts annotated classes as input -
in particular
@Configuration -annotated
classes, but also plain @Component classes and JSR-330 compliant
classes using javax.inject annotations. |
class |
GenericReactiveWebApplicationContext
Subclass of
GenericApplicationContext , suitable for reactive web environments. |
class |
ReactiveWebServerApplicationContext
A
GenericReactiveWebApplicationContext that can be used to bootstrap itself
from a contained ReactiveWebServerFactory bean. |
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.