use of com.synopsys.integration.alert.test.common.TestProperties in project hub-alert by blackducksoftware.
the class EmailPerformanceTest method initTest.
@BeforeAll
public static void initTest() {
EMAIL_CHANNEL_KEY = ChannelKeys.EMAIL.getUniversalKey();
TestProperties testProperties = new TestProperties();
EMAIL_SMTP_HOST = testProperties.getProperty(TestPropertyKey.TEST_EMAIL_SMTP_HOST);
EMAIL_SMTP_FROM = testProperties.getProperty(TestPropertyKey.TEST_EMAIL_SMTP_FROM);
EMAIL_RECIPIENT = testProperties.getProperty(TestPropertyKey.TEST_EMAIL_RECIPIENT);
}
use of com.synopsys.integration.alert.test.common.TestProperties in project hub-alert by blackducksoftware.
the class JiraCloudPerformanceTest method jiraCloudJobTest.
@Test
@Disabled
public void jiraCloudJobTest() throws Exception {
TestProperties testProperties = new TestProperties();
FieldModel globalConfig = createGlobalConfig(testProperties);
// Install plugin
ActionResponse<String> actionResponse = jiraCloudCustomFunctionAction.createActionResponse(globalConfig, null);
if (actionResponse.isError()) {
fail("Unable to install the Alert plugin for Jira Cloud. Exiting test...");
}
Map<String, FieldValueModel> channelFieldsMap = createChannelFieldsMap(testProperties);
IntegrationPerformanceTestRunner testRunner = createTestRunner();
testRunner.runTest(globalConfig, channelFieldsMap, JIRA_CLOUD_PERFORMANCE_JOB_NAME);
}
use of com.synopsys.integration.alert.test.common.TestProperties in project hub-alert by blackducksoftware.
the class MsTeamsPerformanceTest method initTest.
@BeforeAll
public static void initTest() {
TestProperties testProperties = new TestProperties();
MSTEAMS_CHANNEL_WEBHOOK = testProperties.getProperty(TestPropertyKey.TEST_MSTEAMS_WEBHOOK);
}
use of com.synopsys.integration.alert.test.common.TestProperties in project hub-alert by blackducksoftware.
the class ComponentUnknownVersionNotificationSerializationTest method initTest.
@BeforeAll
public static void initTest() {
TestProperties testProperties = new TestProperties();
SLACK_CHANNEL_WEBHOOK = testProperties.getProperty(TestPropertyKey.TEST_SLACK_WEBHOOK);
SLACK_CHANNEL_NAME = testProperties.getProperty(TestPropertyKey.TEST_SLACK_CHANNEL_NAME);
SLACK_CHANNEL_USERNAME = testProperties.getProperty(TestPropertyKey.TEST_SLACK_USERNAME);
}
Aggregations