Search in sources :

Example 1 with SecurityTestHelper

use of com.mercedesbenz.sechub.integrationtest.SecurityTestHelper in project sechub by mercedes-benz.

the class ServerSecurityLogHandlingTest method beforeAll.

@BeforeAll
static void beforeAll() throws Exception {
    String checkAlive = IntegrationTestContext.get().getUrlBuilder().buildCheckIsAliveUrl();
    securityTestHelper = new SecurityTestHelper(TestTargetType.SECHUB_SERVER, new URL(checkAlive));
}
Also used : SecurityTestHelper(com.mercedesbenz.sechub.integrationtest.SecurityTestHelper) URL(java.net.URL) BeforeAll(org.junit.jupiter.api.BeforeAll)

Example 2 with SecurityTestHelper

use of com.mercedesbenz.sechub.integrationtest.SecurityTestHelper in project sechub by mercedes-benz.

the class PDSServerEncryptionTest method beforeAll.

@BeforeAll
static void beforeAll() throws Exception {
    IntegrationTestContext context = IntegrationTestContext.get();
    String checkAlive = context.getPDSUrlBuilder().buildCheckIsAliveUrl();
    securityTestHelper = new SecurityTestHelper(TestTargetType.PDS_SERVER, new URL(checkAlive));
}
Also used : IntegrationTestContext(com.mercedesbenz.sechub.integrationtest.internal.IntegrationTestContext) SecurityTestHelper(com.mercedesbenz.sechub.integrationtest.SecurityTestHelper) URL(java.net.URL) BeforeAll(org.junit.jupiter.api.BeforeAll)

Example 3 with SecurityTestHelper

use of com.mercedesbenz.sechub.integrationtest.SecurityTestHelper in project sechub by mercedes-benz.

the class ServerEncryptionTest method beforeAll.

@BeforeAll
static void beforeAll() throws Exception {
    IntegrationTestContext context = IntegrationTestContext.get();
    String checkAlive = context.getUrlBuilder().buildCheckIsAliveUrl();
    securityTestHelper = new SecurityTestHelper(TestTargetType.SECHUB_SERVER, new URL(checkAlive));
}
Also used : IntegrationTestContext(com.mercedesbenz.sechub.integrationtest.internal.IntegrationTestContext) SecurityTestHelper(com.mercedesbenz.sechub.integrationtest.SecurityTestHelper) URL(java.net.URL) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

SecurityTestHelper (com.mercedesbenz.sechub.integrationtest.SecurityTestHelper)3 URL (java.net.URL)3 BeforeAll (org.junit.jupiter.api.BeforeAll)3 IntegrationTestContext (com.mercedesbenz.sechub.integrationtest.internal.IntegrationTestContext)2