]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
Fix ITs
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Fri, 16 Sep 2016 12:55:15 +0000 (14:55 +0200)
committerDuarte Meneses <duarte.meneses@sonarsource.com>
Fri, 16 Sep 2016 12:55:15 +0000 (14:55 +0200)
it/projects/java-sample-no-properties/.sonar/.sonar_lock [deleted file]
it/projects/java-sample-no-properties/.sonar/report-task.txt [deleted file]
it/src/test/java/com/sonar/runner/it/JavaTest.java

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 (file)
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 (file)
index c8e06cf..0000000
+++ /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
index 2c277c1e20bd03c8bddf52cfdad692b00d66a5dd..fb3905dca474dcae7fa530cb56cccc8dbd1f59c4 100644 (file)
@@ -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");
   }
 
   /**