File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
java/ql/lib/semmle/code/java Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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 */
136138class 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 */
154158class JUnit5TestClass extends Class {
You can’t perform that action at this time.
0 commit comments