Java: Move summaryModel predicate, which constructs a CSV row to the testcode where it is used.

This commit is contained in:
Michael Nebel
2022-11-15 10:47:11 +01:00
parent 663d091776
commit 0abeb831c7
3 changed files with 26 additions and 26 deletions

View File

@@ -533,26 +533,6 @@ predicate summaryModel(
extSummaryModel(package, type, subtypes, name, signature, ext, input, output, kind, provenance)
}
/** Holds if a summary model `row` exists for the given parameters. */
bindingset[row]
predicate summaryModel(
string package, string type, boolean subtypes, string name, string signature, string ext,
string input, string output, string kind, string provenance, string row
) {
summaryModel(package, type, subtypes, name, signature, ext, input, output, kind, provenance) and
row =
package + ";" //
+ type + ";" //
+ subtypes.toString() + ";" //
+ name + ";" //
+ signature + ";" //
+ ext + ";" //
+ input + ";" //
+ output + ";" //
+ kind + ";" //
+ provenance
}
/** Holds if a summary model exists indicating there is no flow for the given parameters. */
extensible predicate extNegativeSummaryModel(
string package, string type, string name, string signature, string provenance