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
+38-13
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,8 @@ public class SpringJUnit5Check extends AbstractSpringCheck {
Copy file name to clipboardExpand all lines: spring-javaformat/spring-javaformat-checkstyle/src/main/java/io/spring/javaformat/checkstyle/check/SpringTestFileNameCheck.java
Copy file name to clipboardExpand all lines: spring-javaformat/spring-javaformat-checkstyle/src/main/resources/io/spring/javaformat/checkstyle/check/messages.properties
+3
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,9 @@ junit5.bannedImport=Import ''{0}'' should not be used in a JUnit 5 test.
16
16
junit5.bannedTestAnnotation=JUnit 4 @Test annotation should not be used in a JUnit 5 test.
17
17
junit5.lifecyclePrivateMethod=Lifecycle method ''{0}'' should not be private.
18
18
junit5.lifecyclePublicMethod=Lifecycle method ''{0}'' should not be public.
19
+
junit5.publicClass=Test class ''{0}'' should not be public.
20
+
junit5.publicNestedClass=Nested test class ''{0}'' should not be public.
21
+
junit5.privateNestedClass=Nested test class ''{0}'' should not be private.
19
22
junit5.testPrivateMethod=Test method ''{0}'' should not be private.
20
23
junit5.testPublicMethod=Test method ''{0}'' should not be public.
0 commit comments