Skip to content

Commit e4ba604

Browse files
committed
Clarify scope of "@SpringBootTest#classes"
See gh-18229
1 parent c5e14a8 commit e4ba604

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@
9494
String[] properties() default {};
9595

9696
/**
97-
* The <em>annotated classes</em> to use for loading an
97+
* The <em>component classes</em> to use for loading an
9898
* {@link org.springframework.context.ApplicationContext ApplicationContext}. Can also
9999
* be specified using
100100
* {@link ContextConfiguration#classes() @ContextConfiguration(classes=...)}. If no
101101
* explicit classes are defined the test will look for nested
102102
* {@link Configuration @Configuration} classes, before falling back to a
103103
* {@link SpringBootConfiguration} search.
104104
* @see ContextConfiguration#classes()
105-
* @return the annotated classes used to load the application context
105+
* @return the component classes used to load the application context
106106
*/
107107
Class<?>[] classes() default {};
108108

0 commit comments

Comments
 (0)