use of com.synopsys.integration.alert.test.common.channel.GlobalConfigurationValidatorAsserter in project hub-alert by blackducksoftware.
the class JiraCloudGlobalConfigurationFieldModelValidatorTest method verifyValidConfig.
/*
* Jira url: required, valid url
* Admin email: required
* Api token: required
*/
@Test
public void verifyValidConfig() {
GlobalConfigurationValidatorAsserter globalConfigurationValidatorAsserter = createGlobalConfigurationValidatorAsserter();
globalConfigurationValidatorAsserter.assertValid();
}
use of com.synopsys.integration.alert.test.common.channel.GlobalConfigurationValidatorAsserter in project hub-alert by blackducksoftware.
the class JiraCloudGlobalConfigurationFieldModelValidatorTest method missingApiToken.
@Test
public void missingApiToken() {
GlobalConfigurationValidatorAsserter globalConfigurationValidatorAsserter = createGlobalConfigurationValidatorAsserter();
globalConfigurationValidatorAsserter.assertMissingValue(JiraCloudDescriptor.KEY_JIRA_ADMIN_API_TOKEN);
}
use of com.synopsys.integration.alert.test.common.channel.GlobalConfigurationValidatorAsserter in project hub-alert by blackducksoftware.
the class JiraServerGlobalConfigurationFieldModelValidatorTest method missingPassword.
@Test
public void missingPassword() {
GlobalConfigurationValidatorAsserter globalConfigurationValidatorAsserter = createGlobalConfigurationValidatorAsserter();
globalConfigurationValidatorAsserter.assertMissingValue(JiraServerDescriptor.KEY_SERVER_PASSWORD);
}
use of com.synopsys.integration.alert.test.common.channel.GlobalConfigurationValidatorAsserter in project hub-alert by blackducksoftware.
the class JiraServerGlobalConfigurationFieldModelValidatorTest method verifyValidConfig.
/*
* Jira url: required, valid url
* username: required
* password: required
*/
@Test
public void verifyValidConfig() {
GlobalConfigurationValidatorAsserter globalConfigurationValidatorAsserter = createGlobalConfigurationValidatorAsserter();
globalConfigurationValidatorAsserter.assertValid();
}
use of com.synopsys.integration.alert.test.common.channel.GlobalConfigurationValidatorAsserter in project hub-alert by blackducksoftware.
the class AzureBoardsGlobalConfigurationFieldModelValidatorTest method missingclientSecret.
@Test
public void missingclientSecret() {
GlobalConfigurationValidatorAsserter validatorAsserter = createValidatorAsserter();
validatorAsserter.assertMissingValue(AzureBoardsDescriptor.KEY_CLIENT_SECRET);
}
Aggregations