File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/test/java/com/checkmarx/intellij/integration/standard/commands Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ dependencies {
4949 implementation ' com.miglayout:miglayout-swing:11.3'
5050
5151 if (javaWrapperVersion == " " || javaWrapperVersion == null ) {
52- implementation(' com.checkmarx.ast:ast-cli-java-wrapper:2.4.15 ' ){
52+ implementation(' com.checkmarx.ast:ast-cli-java-wrapper:2.4.16 ' ){
5353 exclude group : ' junit' , module : ' junit'
5454 }
5555 } else {
Original file line number Diff line number Diff line change @@ -30,7 +30,10 @@ public void testShowPredicates() {
3030
3131 CompletableFuture <ResultGetState > getFuture = Results .getResults (Environment .SCAN_ID );
3232 ResultGetState results = Assertions .assertDoesNotThrow ((ThrowingSupplier <ResultGetState >) getFuture ::get );
33- Result result = results .getResultOutput ().getResults ().get (0 );
33+ Result result = results .getResultOutput ().getResults ().stream ()
34+ .filter (res -> !res .getType ().equalsIgnoreCase (Constants .SCAN_TYPE_SCA ))
35+ .findFirst ()
36+ .orElseThrow (() -> new AssertionError ("No triage-supported results found (excluding SCA)" ));
3437 Assertions .assertDoesNotThrow (() -> triageShow (UUID .fromString (project .getId ()), result .getSimilarityId (), result .getType ()));
3538 }
3639
You can’t perform that action at this time.
0 commit comments