mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Java: Fix some minor bugs in the CSV printing of summaries for flow test generation.
This commit is contained in:
@@ -164,8 +164,8 @@ private class DefaultGetMethod extends GetMethod {
|
||||
|
||||
override string getCsvModel() {
|
||||
result =
|
||||
"generatedtest;Test;false;" + this.getName() + ";(Object);;" +
|
||||
getComponentSpec(SummaryComponent::content(c)) + "Argument[0].;ReturnValue;value;manual"
|
||||
"generatedtest;Test;false;" + this.getName() + ";(Object);;Argument[0]." +
|
||||
getComponentSpec(SummaryComponent::content(c)) + ";ReturnValue;value;manual"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -360,8 +360,8 @@ private class DefaultGenMethod extends GenMethod {
|
||||
|
||||
override string getCsvModel() {
|
||||
result =
|
||||
"generatedtest;Test;false;" + this.getName() + ";(Object);;Argument[0];" +
|
||||
getComponentSpec(SummaryComponent::content(c)) + "ReturnValue.;value;manual"
|
||||
"generatedtest;Test;false;" + this.getName() + ";(Object);;Argument[0];ReturnValue." +
|
||||
getComponentSpec(SummaryComponent::content(c)) + ";value;manual"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@ class SummaryModelTest extends SummaryModelCsv {
|
||||
override predicate row(string row) {
|
||||
row =
|
||||
[
|
||||
//"package;type;overrides;name;signature;ext;inputspec;outputspec;kind",
|
||||
//"package;type;overrides;name;signature;ext;inputspec;outputspec;kind;provenance"
|
||||
|
||||
Reference in New Issue
Block a user