Commit e4ba6049 authored by Stephane Nicoll's avatar Stephane Nicoll

Clarify scope of "@SpringBootTest#classes"

See gh-18229
parent c5e14a89
...@@ -94,7 +94,7 @@ public @interface SpringBootTest { ...@@ -94,7 +94,7 @@ public @interface SpringBootTest {
String[] properties() default {}; String[] properties() default {};
/** /**
* The <em>annotated classes</em> to use for loading an * The <em>component classes</em> to use for loading an
* {@link org.springframework.context.ApplicationContext ApplicationContext}. Can also * {@link org.springframework.context.ApplicationContext ApplicationContext}. Can also
* be specified using * be specified using
* {@link ContextConfiguration#classes() @ContextConfiguration(classes=...)}. If no * {@link ContextConfiguration#classes() @ContextConfiguration(classes=...)}. If no
...@@ -102,7 +102,7 @@ public @interface SpringBootTest { ...@@ -102,7 +102,7 @@ public @interface SpringBootTest {
* {@link Configuration @Configuration} classes, before falling back to a * {@link Configuration @Configuration} classes, before falling back to a
* {@link SpringBootConfiguration} search. * {@link SpringBootConfiguration} search.
* @see ContextConfiguration#classes() * @see ContextConfiguration#classes()
* @return the annotated classes used to load the application context * @return the component classes used to load the application context
*/ */
Class<?>[] classes() default {}; Class<?>[] classes() default {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment