summaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/test
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-03-16 09:50:01 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-03-16 09:50:01 +0100
commit812bbbf8aee19bab8e9cc7d93d450dc5f31e991c (patch)
tree16c05a1a74061c9c0c8973161d39413580a5afed /sonar-batch/src/test
parent1974edc40b343aaf0a0e6028af4fca7f8153dbd5 (diff)
downloadsonarqube-812bbbf8aee19bab8e9cc7d93d450dc5f31e991c.tar.gz
sonarqube-812bbbf8aee19bab8e9cc7d93d450dc5f31e991c.zip
Fix test Windows
Diffstat (limited to 'sonar-batch/src/test')
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java
index bb669ceec00..dcb32c1030e 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java
@@ -246,11 +246,15 @@ public class FileSystemMediumTest {
File projectDir = new File("src/test/resources/mediumtest/xoo/sample");
TaskResult result = tester
.newScanTask(new File(projectDir, "sonar-project.properties"))
- .property("sonar.sources", "SRC")
+ .property("sonar.sources", "XOURCES")
+ .property("sonar.tests", "TESTX")
.start();
assertThat(result.inputFiles()).hasSize(3);
- assertThat(result.inputFiles()).extractingResultOf("relativePath").startsWith("src");
+ assertThat(result.inputFiles()).extractingResultOf("relativePath").containsOnly(
+ "xources/hello/HelloJava.xoo",
+ "xources/hello/helloscala.xoo",
+ "testx/ClassOneTest.xoo");
}
}