Browse Source

Update Javadoc for TestContextBootstrapper

@WebAppConfiguration is no longer meta-annotated with @BootstrapWith.
pull/1041/merge
Sam Brannen 10 years ago
parent
commit
c84c1cfd1b
  1. 15
      spring-test/src/main/java/org/springframework/test/context/TestContextBootstrapper.java

15
spring-test/src/main/java/org/springframework/test/context/TestContextBootstrapper.java

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * <p>A custom bootstrapping strategy can be configured for a test class (or
* test class hierarchy) via {@link BootstrapWith @BootstrapWith}, either * test class hierarchy) via {@link BootstrapWith @BootstrapWith}, either
* directly or as a meta-annotation. See * directly or as a meta-annotation.
* {@link org.springframework.test.context.web.WebAppConfiguration @WebAppConfiguration}
* for an example.
* *
* <p>If a bootstrapper is not explicitly configured via {@code @BootstrapWith}, the * <p>If a bootstrapper is not explicitly configured via {@code @BootstrapWith},
* {@link org.springframework.test.context.support.DefaultTestContextBootstrapper DefaultTestContextBootstrapper} * either the {@link org.springframework.test.context.support.DefaultTestContextBootstrapper
* will be used. * 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> * <h3>Implementation Notes</h3>
* *

Loading…
Cancel
Save