diff options
Diffstat (limited to 'it')
-rw-r--r-- | it/it-tests/src/test/java/it/analysis/BatchTest.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/it/it-tests/src/test/java/it/analysis/BatchTest.java b/it/it-tests/src/test/java/it/analysis/BatchTest.java index f6a2e5bb199..e558ca8d942 100644 --- a/it/it-tests/src/test/java/it/analysis/BatchTest.java +++ b/it/it-tests/src/test/java/it/analysis/BatchTest.java @@ -325,6 +325,17 @@ public class BatchTest { assertThat(result.getLogs()).doesNotContain("Download sonar-xoo-plugin-"); } + @Test + public void batch_should_keep_report_verbose() { + orchestrator.getServer().provisionProject("sample", "xoo-sample"); + orchestrator.getServer().associateProjectToQualityProfile("sample", "xoo", "one-issue-per-line"); + + scanQuietly("shared/xoo-sample", "sonar.verbose", "true"); + File reportDir = new File(new File(ItUtils.projectDir("shared/xoo-sample"), ".sonar"), "batch-report"); + assertThat(reportDir).isDirectory(); + assertThat(reportDir.list()).isNotEmpty(); + } + /** * SONAR-4239 */ |