File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
intTest/java/io/codemodder/integration
main/java/io/codemodder/codemods/sonar Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,12 @@ protected void verifyNoFailedFiles(final CodeTFReport report) {
9797 .map (CodeTFResult ::getFailedFiles )
9898 .flatMap (Collection ::stream )
9999 .toList ();
100- assertThat (failedFiles .size (), is (0 ));
100+ if (!failedFiles .isEmpty ()) {
101+ System .out .println ("Failed files during scan:" );
102+ failedFiles .forEach (System .err ::println );
103+ }
104+ int size = failedFiles .size ();
105+ assertThat (size , is (0 ));
101106 }
102107
103108 protected void verifyStandardCodemodResults (final List <CodeTFChangesetEntry > fileChanges ) {
Original file line number Diff line number Diff line change 1717import javax .inject .Inject ;
1818
1919@ Codemod (
20- id = "sonar:java/weak-hash-2245 " ,
20+ id = "sonar:java/weak-hash-4790 " ,
2121 reviewGuidance = ReviewGuidance .MERGE_AFTER_CURSORY_REVIEW ,
2222 importance = Importance .HIGH ,
2323 executionPriority = CodemodExecutionPriority .HIGH )
You can’t perform that action at this time.
0 commit comments