You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-javaformat/spring-javaformat-checkstyle/src/main/java/io/spring/javaformat/checkstyle/check/SpringJUnit5Check.java
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,10 @@ public class SpringJUnit5Check extends AbstractSpringCheck {
Copy file name to clipboardExpand all lines: spring-javaformat/spring-javaformat-checkstyle/src/main/resources/io/spring/javaformat/checkstyle/check/messages.properties
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,9 @@ javadoc.badCase=Javadoc element descriptions should not start with an uppercase
8
8
header.unexpected=Unexpected header.
9
9
nothis.unexpected=Reference to instance variable ''{0}'' should not use \"this.\".
10
10
methodorder.outOfOrder=Method ''{0}'' is out of order, expected {1}.
11
-
junit5.publicMethod="Test method ''{0}'' should not be public."
12
-
junit5.privateMethod="Test method ''{0}'' should not be private."
13
11
junit5.bannedImport="Import ''{0}'' should not be used in a JUnit 5 test."
14
12
junit5.bannedTestAnnotation="JUnit 4 @Test annotation should not be used in a JUnit 5 test."
13
+
junit5.lifecyclePublicMethod="Lifecycle method ''{0}'' should not be public."
14
+
junit5.lifecyclePrivateMethod="Lifecycle method ''{0}'' should not be private."
15
+
junit5.testPublicMethod="Test method ''{0}'' should not be public."
16
+
junit5.testPrivateMethod="Test method ''{0}'' should not be private."
0 commit comments