CodeQL library for Java/Kotlin
codeql/java-all 5.0.1-dev (changelog, source)
Search

Predicate Make::MergeTests5::getARelevantTag

Returns all tags that can be generated by this test. Most tests will only ever produce a single tag. Any expected result comments for a tag that is not returned by the getARelevantTag() predicate for an active test will be ignored. This makes it possible to write multiple tests in different .ql files that all query the same source code.

Import path

import codeql.util.test.InlineExpectationsTest
string getARelevantTag()