Search in sources :

Example 1 with CxXMLResultsType

use of com.checkmarx.sdk.dto.cx.xml.CxXMLResultsType in project checkmarx-spring-boot-java-sdk by checkmarx-ltd.

the class CxServiceIT method getXmlReportContent.

@Test
public void getXmlReportContent() {
    try {
        CxXMLResultsType results = service.getLatestScanReport(properties.getTeam(), "Riches");
        assertNotNull(results);
    } catch (CheckmarxException e) {
        fail("Unexpected CheckmarxException");
    }
}
Also used : CxXMLResultsType(com.checkmarx.sdk.dto.cx.xml.CxXMLResultsType) CheckmarxException(com.checkmarx.sdk.exception.CheckmarxException) Test(org.junit.Test) SpringBootTest(org.springframework.boot.test.context.SpringBootTest)

Aggregations

CxXMLResultsType (com.checkmarx.sdk.dto.cx.xml.CxXMLResultsType)1 CheckmarxException (com.checkmarx.sdk.exception.CheckmarxException)1 Test (org.junit.Test)1 SpringBootTest (org.springframework.boot.test.context.SpringBootTest)1