use of com.buschmais.jqassistant.core.rule.api.reader.RuleConfiguration in project jqa-core-framework by buschmais.
the class SeverityTest method asciidocRuleDefaultSeverity.
@Test
public void asciidocRuleDefaultSeverity() throws RuleException {
RuleConfiguration ruleConfiguration = RuleConfiguration.builder().build();
RuleSet ruleSet = RuleSetTestHelper.readRuleSet("/severity.adoc", ruleConfiguration);
verifyRuleDefaultSeverity(ruleSet);
}
use of com.buschmais.jqassistant.core.rule.api.reader.RuleConfiguration in project jqa-core-framework by buschmais.
the class SeverityTest method asciidocDefaultSeverity.
@Test
public void asciidocDefaultSeverity() throws RuleException {
RuleConfiguration ruleConfiguration = RuleConfiguration.builder().defaultConceptSeverity(Severity.CRITICAL).defaultConstraintSeverity(Severity.CRITICAL).defaultGroupSeverity(Severity.CRITICAL).build();
RuleSet ruleSet = RuleSetTestHelper.readRuleSet("/severity.adoc", ruleConfiguration);
verifyDefaultSeverities(ruleSet, Severity.CRITICAL);
}
use of com.buschmais.jqassistant.core.rule.api.reader.RuleConfiguration in project jqa-core-framework by buschmais.
the class SeverityTest method asciidocDefaultSeverity.
@Test
void asciidocDefaultSeverity() throws RuleException {
RuleConfiguration ruleConfiguration = RuleConfiguration.builder().defaultConceptSeverity(Severity.CRITICAL).defaultConstraintSeverity(Severity.CRITICAL).defaultGroupSeverity(Severity.CRITICAL).build();
RuleSet ruleSet = RuleSetTestHelper.readRuleSet("/severity.adoc", ruleConfiguration);
verifyDefaultSeverities(ruleSet, Severity.CRITICAL);
}
use of com.buschmais.jqassistant.core.rule.api.reader.RuleConfiguration in project jqa-core-framework by jQAssistant.
the class SeverityTest method asciidocDefaultSeverity.
@Test
void asciidocDefaultSeverity() throws RuleException {
RuleConfiguration ruleConfiguration = RuleConfiguration.builder().defaultConceptSeverity(Severity.CRITICAL).defaultConstraintSeverity(Severity.CRITICAL).defaultGroupSeverity(Severity.CRITICAL).build();
RuleSet ruleSet = RuleSetTestHelper.readRuleSet("/severity.adoc", ruleConfiguration);
verifyDefaultSeverities(ruleSet, Severity.CRITICAL);
}
use of com.buschmais.jqassistant.core.rule.api.reader.RuleConfiguration in project jqa-core-framework by jQAssistant.
the class SeverityTest method asciidocRuleDefaultSeverity.
@Test
void asciidocRuleDefaultSeverity() throws RuleException {
RuleConfiguration ruleConfiguration = RuleConfiguration.builder().build();
RuleSet ruleSet = RuleSetTestHelper.readRuleSet("/severity.adoc", ruleConfiguration);
verifyRuleDefaultSeverity(ruleSet);
}
Aggregations