mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Java: Generalize the inline mad test to allow further re-use.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
unexpectedSummary
|
||||
expectedSummary
|
||||
unexpectedModel
|
||||
expectedModel
|
||||
|
||||
@@ -3,9 +3,9 @@ import utils.modelgenerator.internal.CaptureSummaryFlowQuery
|
||||
import TestUtilities.InlineMadTest
|
||||
|
||||
module InlineMadTestConfig implements InlineMadTestConfigSig {
|
||||
string getComment() { result = any(Javadoc doc).getChild(0).toString() }
|
||||
string getCapturedModel() { result = captureFlow(_) }
|
||||
|
||||
string getCapturedSummary() { result = captureFlow(_) }
|
||||
string getKind() { result = "summary" }
|
||||
}
|
||||
|
||||
import InlineMadTest<InlineMadTestConfig>
|
||||
|
||||
Reference in New Issue
Block a user