Skip to content

Commit 9f1ee99

Browse files
authored
ast-3919 change filter to file-filter and sources to file-source (#12)
* ast-3919 change filter to file-filter and sources to file-source * AST-3919 set junit-jupiter to 5.7.2 and remove NotNull annotation * AST-3919 update CLI executables
1 parent 50cfe0c commit 9f1ee99

File tree

6 files changed

+3
-5
lines changed

6 files changed

+3
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<dependency>
5454
<groupId>org.junit.jupiter</groupId>
5555
<artifactId>junit-jupiter</artifactId>
56-
<version>RELEASE</version>
56+
<version>5.7.2</version>
5757
<scope>test</scope>
5858
</dependency>
5959
<dependency>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package com.checkmarx.ast.scans;
22

33
public enum CxParamType {
4-
S, V, G, PROJECT_NAME, SCAN_TYPES, SAST_PRESET_NAME, FILTER, DIRECTORY, ADDITIONAL_PARAMETERS, AGENT, SOURCES, BRANCH
4+
S, V, G, PROJECT_NAME, SCAN_TYPES, SAST_PRESET_NAME, FILE_FILTER, DIRECTORY, ADDITIONAL_PARAMETERS, AGENT, FILE_SOURCE, BRANCH
55
}

src/main/resources/cx-linux

-4.02 MB
Binary file not shown.

src/main/resources/cx-mac

-4.38 MB
Binary file not shown.

src/main/resources/cx.exe

-4.12 MB
Binary file not shown.

src/test/java/com/checkmarx/ast/CxAuthTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.checkmarx.ast;
22

3-
import org.jetbrains.annotations.NotNull;
43
import org.junit.Before;
54
import org.junit.Test;
65
import org.junit.runner.RunWith;
@@ -49,13 +48,12 @@ public void init() throws IOException, URISyntaxException {
4948
auth = new CxAuth(config, log);
5049
}
5150

52-
@NotNull
5351
private Map<CxParamType, String> createParams() {
5452
Map<CxParamType, String> params = new HashMap<>();
5553
params.put(CxParamType.PROJECT_NAME, "JavaWrapperTestCases");
5654
params.put(CxParamType.SCAN_TYPES, "sast");
5755
params.put(CxParamType.S, ".");
58-
params.put(CxParamType.FILTER, "*.java");
56+
params.put(CxParamType.FILE_FILTER, "*.java");
5957

6058
return params;
6159
}

0 commit comments

Comments
 (0)