Skip to content

Commit 8bffda0

Browse files
committed
#2914: improve naming: use the new term 'supersede'
1 parent 70253ca commit 8bffda0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

junit-jupiter-engine/src/test/java/org/junit/jupiter/engine/LifecycleMethodShadowingTests.java renamed to junit-jupiter-engine/src/test/java/org/junit/jupiter/engine/LifecycleMethodSupersedingTests.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929

3030
/**
3131
* Integration tests that explicitly demonstrate the shadowing/overriding
32-
* rules for lifecylce methods in the {@link JupiterTestEngine}.
32+
* rules for lifecycle methods in the {@link JupiterTestEngine}.
3333
*
3434
* @since 5.9
3535
*/
36-
class LifecycleMethodShadowingTests {
36+
class LifecycleMethodSupersedingTests {
3737

3838
@Nested
39-
@DisplayName("A package-private lifecycle super-method can be combined with")
39+
@DisplayName("A package-private lifecycle super-method can be superseded by")
4040
class PackagePrivateSuperClassTests {
4141

4242
@Nested
@@ -73,7 +73,7 @@ public void beforeEach() {
7373
}
7474

7575
@Nested
76-
@DisplayName("A protected lifecycle super-method can be combined with")
76+
@DisplayName("A protected lifecycle super-method can be superseded by")
7777
class ProtectedSuperClassTests {
7878

7979
@Nested
@@ -98,7 +98,7 @@ public void beforeEach() {
9898
}
9999

100100
@Nested
101-
@DisplayName("A public lifecycle super-method can be combined with")
101+
@DisplayName("A public lifecycle super-method can be superseded by")
102102
class PublicSuperClassTests {
103103

104104
@Nested

0 commit comments

Comments
 (0)