Files
codeql/swift/ql/test/extractor-tests/generated/Diagnostics/Diagnostics.ql
Paolo Tranquilli 6bbf1e3bc1 Codegen: use one generated test file per directory
This collapses all generated test QL sources into a single one per
directory, using query predicates to run the different tests.

This should improve the time required to run generated tests.
2025-06-25 11:44:54 +02:00

15 lines
383 B
Plaintext
Generated

// generated by codegen/codegen.py, do not edit
import codeql.swift.elements
import TestUtils
query predicate instances(
Diagnostics x, string getText__label, string getText, string getKind__label, int getKind
) {
toBeTested(x) and
not x.isUnknown() and
getText__label = "getText:" and
getText = x.getText() and
getKind__label = "getKind:" and
getKind = x.getKind()
}