-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reportingdescriptor name to string change (#1309)
* solution builds! * updating compatTransformer and updating failing TCs * cleanup * rc++ * fixing typo in name * rc++ * fixing UTCs * removing comment
- Loading branch information
1 parent
e4dd617
commit bd72a8d
Showing
30 changed files
with
389 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
...a/SarifVersionOneToCurrentVisitor/ExpectedOutputs/OneRunWithAllReportingDescriptors.sarif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/sarif-2.0.0-csd.2.beta.2019-02-20", | ||
"version": "2.0.0-csd.2.beta.2019-02-20", | ||
"runs": [ | ||
{ | ||
"tool": { | ||
"driver": { | ||
"name": "CodeScanner", | ||
"semanticVersion": "2.1.0", | ||
"ruleDescriptors": [ | ||
{ | ||
"id": "C2003", | ||
"name": "Rule C2003", | ||
"shortDescription": { | ||
"text": "Rules were meant to be broken." | ||
}, | ||
"fullDescription": { | ||
"text": "This is a test for validating modification of tool.driver.ruleDescriptors" | ||
}, | ||
"defaultConfiguration": { | ||
"enabled": false, | ||
"level": "error" | ||
} | ||
}, | ||
{ | ||
"id": "C2004", | ||
"name": "Rule C2004", | ||
"shortDescription": { | ||
"text": "Another rule meant to be broken." | ||
}, | ||
"fullDescription": { | ||
"text": "This is a test for validating modification of tool.driver.ruleDescriptors" | ||
}, | ||
"defaultConfiguration": { | ||
"enabled": false, | ||
"level": "error" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"results": [ | ||
{ | ||
"ruleId": "C2003", | ||
"ruleIndex": 0, | ||
"message": { | ||
"text": "Some testing occurred." | ||
} | ||
}, | ||
{ | ||
"ruleId": "C2004", | ||
"ruleIndex": 1, | ||
"message": { | ||
"text": "Some testing occurred." | ||
} | ||
} | ||
], | ||
"columnKind": "utf16CodeUnits" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
...s/TestData/SarifVersionOneToCurrentVisitor/Inputs/OneRunWithAllReportingDescriptors.sarif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/sarif-1.0.0", | ||
"version": "1.0.0", | ||
"runs": [ | ||
{ | ||
"rules": { | ||
"C2003": { | ||
"id": "C2003", | ||
"name": "Rule C2003", | ||
"shortDescription": "Rules were meant to be broken.", | ||
"fullDescription": "This is a test for validating modification of tool.driver.ruleDescriptors", | ||
"configuration": "disabled", | ||
"defaultLevel": "error" | ||
}, | ||
"C2004": { | ||
"id": "C2004", | ||
"name": "Rule C2004", | ||
"shortDescription": "Another rule meant to be broken.", | ||
"fullDescription": "This is a test for validating modification of tool.driver.ruleDescriptors", | ||
"configuration": "disabled", | ||
"defaultLevel": "error" | ||
} | ||
}, | ||
"tool": { | ||
"name": "CodeScanner", | ||
"semanticVersion": "2.1.0", | ||
"notificationDescriptors": [ | ||
{ | ||
"id": "MSG0001", | ||
"helpUri": "www.example.com/notifications/msg0001.html" | ||
}, | ||
{ | ||
"id": "MSG0002", | ||
"helpUri": "www.example.com/notifications/msg0002.html" | ||
} | ||
] | ||
}, | ||
"results": [ | ||
{ | ||
"ruleId": "C2003", | ||
"ruleKey": "C2003", | ||
"message": "Some testing occurred." | ||
}, | ||
{ | ||
"ruleId": "C2004", | ||
"ruleKey": "C2004", | ||
"message": "Some testing occurred." | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.