mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Java: refactor QL
This commit is contained in:
@@ -112,6 +112,14 @@ class JUnitJupiterTestMethod extends Method {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A JUnit test class that contains at least one method annotated with
|
||||
* `org.junit.jupiter.api.Test`.
|
||||
*/
|
||||
class JUnit5TestClass extends Class {
|
||||
JUnit5TestClass() { this.getAMethod() instanceof JUnitJupiterTestMethod }
|
||||
}
|
||||
|
||||
/**
|
||||
* A JUnit `@Ignore` annotation.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user