diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-16 07:38:51 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-16 07:38:51 +0200 |
commit | 2b83077b2b3fa20fe7e864b43050df748994a3c0 (patch) | |
tree | 02d35a2381172eb3f04a1e07b34a227002ecd67d /sonar-batch | |
parent | d8c5ca1ee3f83fe70df1f8f60342dc1b239ec516 (diff) | |
download | sonarqube-2b83077b2b3fa20fe7e864b43050df748994a3c0.tar.gz sonarqube-2b83077b2b3fa20fe7e864b43050df748994a3c0.zip |
Do not consider FileSystemMediumTest as ignored on windows
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java | 16 |
1 files changed, 8 insertions, 8 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 5429cbd860c..4e5822d0827 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 @@ -39,7 +39,6 @@ import java.io.File; import java.io.IOException; import static org.fest.assertions.Assertions.assertThat; -import static org.junit.Assume.assumeFalse; public class FileSystemMediumTest { @@ -174,13 +173,14 @@ public class FileSystemMediumTest { // SONAR-5330 @Test public void scanProjectWithSourceSymlink() throws Exception { - assumeFalse(System2.INSTANCE.isOsWindows()); - File projectDir = new File("src/test/resources/mediumtest/xoo/sample-with-symlink"); - TaskResult result = tester - .newScanTask(new File(projectDir, "sonar-project.properties")) - .start(); - - assertThat(result.inputFiles()).hasSize(3); + if (!System2.INSTANCE.isOsWindows()) { + File projectDir = new File("src/test/resources/mediumtest/xoo/sample-with-symlink"); + TaskResult result = tester + .newScanTask(new File(projectDir, "sonar-project.properties")) + .start(); + + assertThat(result.inputFiles()).hasSize(3); + } } } |