Make assertable context interfaces configurable
Update `Assertable*ApplicationContext` interfaces so that they also extend the appropriate `Configurable*ApplicationContext` interface. Closes gh-14650
This commit is contained in:
parent
1e6c7cc122
commit
94b366bc16
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -35,7 +35,8 @@ import org.springframework.context.ConfigurableApplicationContext;
|
|||
* @see ApplicationContext
|
||||
*/
|
||||
public interface AssertableApplicationContext
|
||||
extends ApplicationContextAssertProvider<ConfigurableApplicationContext> {
|
||||
extends ApplicationContextAssertProvider<ConfigurableApplicationContext>,
|
||||
ConfigurableApplicationContext {
|
||||
|
||||
/**
|
||||
* Factory method to create a new {@link AssertableApplicationContext} instance.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -35,7 +35,7 @@ import org.springframework.boot.web.reactive.context.ReactiveWebApplicationConte
|
|||
*/
|
||||
public interface AssertableReactiveWebApplicationContext extends
|
||||
ApplicationContextAssertProvider<ConfigurableReactiveWebApplicationContext>,
|
||||
ReactiveWebApplicationContext {
|
||||
ConfigurableReactiveWebApplicationContext {
|
||||
|
||||
/**
|
||||
* Factory method to create a new {@link AssertableReactiveWebApplicationContext}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -36,7 +36,7 @@ import org.springframework.web.context.WebApplicationContext;
|
|||
*/
|
||||
public interface AssertableWebApplicationContext
|
||||
extends ApplicationContextAssertProvider<ConfigurableWebApplicationContext>,
|
||||
WebApplicationContext {
|
||||
ConfigurableWebApplicationContext {
|
||||
|
||||
/**
|
||||
* Factory method to create a new {@link AssertableWebApplicationContext} instance.
|
||||
|
|
|
|||
Loading…
Reference in New Issue