From: Duarte Meneses Date: Fri, 16 Sep 2016 12:55:15 +0000 (+0200) Subject: Fix ITs X-Git-Tag: 2.8~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7df3e2db378b0c0da423439cf2552c8115e76f3b;p=sonar-scanner-cli.git Fix ITs --- diff --git a/it/projects/java-sample-no-properties/.sonar/.sonar_lock b/it/projects/java-sample-no-properties/.sonar/.sonar_lock deleted file mode 100644 index e69de29..0000000 diff --git a/it/projects/java-sample-no-properties/.sonar/report-task.txt b/it/projects/java-sample-no-properties/.sonar/report-task.txt deleted file mode 100644 index c8e06cf..0000000 --- a/it/projects/java-sample-no-properties/.sonar/report-task.txt +++ /dev/null @@ -1,5 +0,0 @@ -projectKey=java:sample -serverUrl=http://localhost:33151 -dashboardUrl=http://localhost:33151/dashboard/index/java:sample -ceTaskId=AVZQO0KqHsi6TBOtG5xl -ceTaskUrl=http://localhost:33151/api/ce/task?id=AVZQO0KqHsi6TBOtG5xl diff --git a/it/src/test/java/com/sonar/runner/it/JavaTest.java b/it/src/test/java/com/sonar/runner/it/JavaTest.java index 2c277c1..fb3905d 100644 --- a/it/src/test/java/com/sonar/runner/it/JavaTest.java +++ b/it/src/test/java/com/sonar/runner/it/JavaTest.java @@ -178,7 +178,7 @@ public class JavaTest extends ScannerTestCase { BuildResult result = orchestrator.executeBuildQuietly(build); assertThat(result.getStatus()).isNotEqualTo(0); // with the following message - assertThat(result.getLogs()).contains("The folder 'bad' does not exist for 'bad-source-dirs'"); + assertThat(result.getLogs()).contains("Invalid value of sonar.rouces for bad-sources-dirs"); } /**