Skip to content

Commit c0ace2b

Browse files
committed
Modify expected of sarif for two files
1 parent 2cb8fbf commit c0ace2b

2 files changed

Lines changed: 0 additions & 56 deletions

File tree

‎its/ruling/src/test/resources/expected/eclipse-jetty/java-S100.sarif‎

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -95,34 +95,6 @@
9595
}
9696
} ],
9797
"rank" : -1.0
98-
}, {
99-
"ruleId" : "java:S100",
100-
"ruleIndex" : -1,
101-
"kind" : "fail",
102-
"level" : "warning",
103-
"message" : {
104-
"text" : "Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'."
105-
},
106-
"locations" : [ {
107-
"id" : -1,
108-
"physicalLocation" : {
109-
"artifactLocation" : {
110-
"uri" : "eclipse-jetty:jetty-util/src/main/java/org/eclipse/jetty/util/security/UnixCrypt.java",
111-
"index" : -1
112-
},
113-
"region" : {
114-
"startLine" : 415,
115-
"startColumn" : 25,
116-
"endLine" : 415,
117-
"endColumn" : 35,
118-
"charOffset" : 13435,
119-
"charLength" : 10,
120-
"byteOffset" : 13435,
121-
"byteLength" : 10
122-
}
123-
}
124-
} ],
125-
"rank" : -1.0
12698
}, {
12799
"ruleId" : "java:S100",
128100
"ruleIndex" : -1,

‎its/ruling/src/test/resources/expected/guava/java-S103.sarif‎

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,6 @@
1212
},
1313
"language" : "en-US",
1414
"results" : [{
15-
"ruleId" : "java:S103",
16-
"ruleIndex" : -1,
17-
"kind" : "fail",
18-
"level" : "warning",
19-
"message" : {
20-
"text" : "Split this 192 characters long line (which is greater than 120 authorized)."
21-
},
22-
"locations" : [ {
23-
"id" : -1,
24-
"physicalLocation" : {
25-
"artifactLocation" : {
26-
"uri" : "guava:src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java",
27-
"index" : -1
28-
},
29-
"region" : {
30-
"startLine" : 53,
31-
"startColumn" : 1,
32-
"endLine" : 53,
33-
"endColumn" : 193,
34-
"charOffset" : 50752,
35-
"charLength" : 192,
36-
"byteOffset" : 51851,
37-
"byteLength" : 192
38-
}
39-
}
40-
} ],
41-
"rank" : -1.0
42-
}, {
4315
"ruleId" : "java:S103",
4416
"ruleIndex" : -1,
4517
"kind" : "fail",

0 commit comments

Comments
 (0)