Update Javadoc for TestContextBootstrapper

@WebAppConfiguration is no longer meta-annotated with @BootstrapWith.
This commit is contained in:
Sam Brannen 2016-04-25 15:44:15 +02:00
parent 67a9f40c95
commit c84c1cfd1b
1 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2016 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.
@ -31,13 +31,14 @@ import java.util.List;
*
* <p>A custom bootstrapping strategy can be configured for a test class (or
* test class hierarchy) via {@link BootstrapWith @BootstrapWith}, either
* directly or as a meta-annotation. See
* {@link org.springframework.test.context.web.WebAppConfiguration @WebAppConfiguration}
* for an example.
* directly or as a meta-annotation.
*
* <p>If a bootstrapper is not explicitly configured via {@code @BootstrapWith}, the
* {@link org.springframework.test.context.support.DefaultTestContextBootstrapper DefaultTestContextBootstrapper}
* will be used.
* <p>If a bootstrapper is not explicitly configured via {@code @BootstrapWith},
* either the {@link org.springframework.test.context.support.DefaultTestContextBootstrapper
* DefaultTestContextBootstrapper} or the
* {@link org.springframework.test.context.web.WebTestContextBootstrapper
* WebTestContextBootstrapper} will be used, depending on the presence of
* {@link org.springframework.test.context.web.WebAppConfiguration @WebAppConfiguration}.
*
* <h3>Implementation Notes</h3>
*