Java: convert all qlref tests to inline expectation tests using postprocessing#21966
Java: convert all qlref tests to inline expectation tests using postprocessing#21966owen-mc wants to merge 5 commits into
Conversation
mbaluda
left a comment
There was a problem hiding this comment.
I'm not sure what your scope is, but there are a lot missing in the other java folders:
grep -rL "InlineExpectationsTestQuery" --include="*.qlref" java
|
Don't speak to me, speak to copilot 😆 . I'll look into it. I think the scope is any .qlref test referencing any query that has |
|
It was just looking in Java Inline Expectation Skip ListThis file lists the remaining AST dump queriesThese queries produce AST or extractor structure dumps rather than ordinary
Diagnostics and extractor telemetryThese queries validate extractor, database, or diagnostic output rather than source-level alerts.
Metrics, table, definitions, and tool-specific queriesThese queries are not ordinary inline-alert candidates because they produce summary, table, definitions, stub-generation, or tool endpoint output.
Special query kindThese tests do not use standard
Alert location is inside Javadoc or literal contentAdding inline comments would change the text or syntax being reported, making the converted test misleading or brittle.
Results are in shared stubs or vendored fixturesThese dead-code results are primarily reported in shared Apache Camel stub files, so inline comments would pollute shared fixtures.
|
37e782e to
a4bf2b8
Compare
No description provided.