File tree 4 files changed +18
-3
lines changed
spring-test/src/main/java/org/springframework/test/context
4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2024 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
82
82
* <li>{@link ActiveProfiles @ActiveProfiles}</li>
83
83
* <li>{@link TestPropertySource @TestPropertySource}</li>
84
84
* <li>{@link DynamicPropertySource @DynamicPropertySource}</li>
85
+ * <li>{@link org.springframework.test.context.bean.override.convention.TestBean @TestBean}</li>
86
+ * <li>{@link org.springframework.test.context.bean.override.mockito.MockitoBean @MockitoBean}</li>
87
+ * <li>{@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean @MockitoSpyBean}</li>
85
88
* <li>{@link org.springframework.test.annotation.DirtiesContext @DirtiesContext}</li>
86
89
* <li>{@link org.springframework.transaction.annotation.Transactional @Transactional}</li>
87
90
* <li>{@link org.springframework.test.annotation.Rollback @Rollback}</li>
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2024 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
110
110
* {@code protected}, package-private (default visibility), or {@code private}
111
111
* depending on the needs or coding practices of the project.
112
112
*
113
+ * <p>{@code @TestBean} fields will be inherited from an enclosing test class by default. See
114
+ * {@link org.springframework.test.context.NestedTestConfiguration @NestedTestConfiguration}
115
+ * for details.
116
+ *
113
117
* @author Simon Baslé
114
118
* @author Stephane Nicoll
115
119
* @author Sam Brannen
Original file line number Diff line number Diff line change 63
63
* (default visibility), or {@code private} depending on the needs or coding
64
64
* practices of the project.
65
65
*
66
+ * <p>{@code @MockitoBean} fields will be inherited from an enclosing test class by default.
67
+ * See {@link org.springframework.test.context.NestedTestConfiguration @NestedTestConfiguration}
68
+ * for details.
69
+ *
66
70
* @author Simon Baslé
67
71
* @author Sam Brannen
68
72
* @since 6.2
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2024 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
56
56
* (default visibility), or {@code private} depending on the needs or coding
57
57
* practices of the project.
58
58
*
59
+ * <p>{@code @MockitoSpyBean} fields will be inherited from an enclosing test class by default.
60
+ * See {@link org.springframework.test.context.NestedTestConfiguration @NestedTestConfiguration}
61
+ * for details.
62
+ *
59
63
* @author Simon Baslé
60
64
* @author Sam Brannen
61
65
* @since 6.2
You can’t perform that action at this time.
0 commit comments