Predicate Make::MergeTests::hasActualResult
Returns the actual results of the query that is being tested. Each result consist of the following values:
location
- The source code location of the result. Any expected result comment must appear on the start line of this location.element
- Display text for the element on which the result is reported.tag
- The tag that marks this result as coming from this test. This must be one of the tags returned bygetARelevantTag()
.value
- The value of the result, which will be matched against the value associated withtag
in any expected result comment on that line.
Import path
import codeql.util.test.InlineExpectationsTest
predicate hasActualResult(Location location, string element, string tag, string value)