Browse Source

Update JavaDoc for @BootstrapWith regarding local override

Issue: SPR-17006
pull/1929/head
Sam Brannen 7 years ago
parent
commit
50dc8c2358
  1. 7
      spring-test/src/main/java/org/springframework/test/context/BootstrapWith.java

7
spring-test/src/main/java/org/springframework/test/context/BootstrapWith.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-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.
@ -28,7 +28,10 @@ import java.lang.annotation.Target; @@ -28,7 +28,10 @@ import java.lang.annotation.Target;
* how to bootstrap the <em>Spring TestContext Framework</em>.
*
* <p>This annotation may also be used as a <em>meta-annotation</em> to create
* custom <em>composed annotations</em>.
* custom <em>composed annotations</em>. As of Spring Framework 5.1, a locally
* declared {@code @BootstrapWith} annotation (i.e., one that is <em>directly
* present</em> on the current test class) will override any meta-present
* declarations of {@code @BootstrapWith}.
*
* @author Sam Brannen
* @since 4.1

Loading…
Cancel
Save