use of org.sonar.scanner.bootstrap.GlobalMode in project sonarqube by SonarSource.
the class GlobalModeTest method preview_mode_fallback_issues.
@Test
public void preview_mode_fallback_issues() {
GlobalMode mode = createMode(CoreProperties.ANALYSIS_MODE, CoreProperties.ANALYSIS_MODE_PREVIEW);
assertThat(mode.isIssues()).isTrue();
assertThat(mode.isPreview()).isFalse();
}
Aggregations