File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
spring-modulith-test/src/main/java/org/springframework/modulith/test Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .springframework .modulith .test ;
17
17
18
+ import java .lang .annotation .Documented ;
19
+ import java .lang .annotation .ElementType ;
20
+ import java .lang .annotation .Inherited ;
18
21
import java .lang .annotation .Retention ;
19
22
import java .lang .annotation .RetentionPolicy ;
23
+ import java .lang .annotation .Target ;
20
24
21
25
import org .junit .jupiter .api .TestInstance ;
22
26
import org .junit .jupiter .api .TestInstance .Lifecycle ;
35
39
* Bootstraps the module containing the package of the test class annotated with {@link ApplicationModuleTest}. Will
36
40
* apply the following modifications to the Spring Boot configuration:
37
41
* <ul>
38
- * <li>Restricts the component scanning to the module's package.
39
- * <li>
40
- * <li>Sets the module's package as the only auto-configuration and entity scan package.
41
- * <li>
42
+ * <li>Restricts the component scanning to the module's package.</li>
43
+ * <li>Sets the module's package as the only auto-configuration and entity scan package.</li>
42
44
* </ul>
43
45
*
44
46
* @author Oliver Drotbohm
45
47
*/
48
+ @ Target (value = ElementType .TYPE )
49
+ @ Documented
50
+ @ Inherited
46
51
@ Retention (RetentionPolicy .RUNTIME )
47
52
@ BootstrapWith (SpringBootTestContextBootstrapper .class )
48
53
@ TypeExcludeFilters (ModuleTypeExcludeFilter .class )
You can’t perform that action at this time.
0 commit comments