Skip to content

Commit faeb7ab

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: add blank lines to qldocs
1 parent e458aca commit faeb7ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/ql/lib/semmle/code/java/UnitTests.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,12 @@ class JUnitJupiterTestMethod extends Method {
127127

128128
/**
129129
* A JUnit 5 test method.
130+
*
130131
* A test method is defined by JUnit as "any instance method
131132
* that is directly annotated or meta-annotated with `@Test`,
132133
* `@RepeatedTest`, `@ParameterizedTest`, `@TestFactory`, or
133134
* `@TestTemplate`."
135+
*
134136
* See https://junit.org/junit5/docs/current/user-guide/#writing-tests-definitions
135137
*/
136138
class JUnit5TestMethod extends Method {
@@ -147,8 +149,10 @@ class JUnit5TestMethod extends Method {
147149

148150
/**
149151
* A JUnit 5 test class.
152+
*
150153
* A test class must contain at least one test method, and
151154
* cannot be abstract.
155+
*
152156
* See https://junit.org/junit5/docs/current/user-guide/#writing-tests-definitions
153157
*/
154158
class JUnit5TestClass extends Class {

0 commit comments

Comments
 (0)