From 4fe58e0616842d0fab1ff2e5276a696570da81a5 Mon Sep 17 00:00:00 2001 From: Johannes Zink Date: Wed, 19 Nov 2014 10:55:36 +0100 Subject: [PATCH] used @Ignore to deactivate unittests --- .../sonar/plugins/scala/surefire/SurefireUtilsTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/sonar/plugins/scala/surefire/SurefireUtilsTest.java b/src/test/java/org/sonar/plugins/scala/surefire/SurefireUtilsTest.java index 7269745..6d32a81 100644 --- a/src/test/java/org/sonar/plugins/scala/surefire/SurefireUtilsTest.java +++ b/src/test/java/org/sonar/plugins/scala/surefire/SurefireUtilsTest.java @@ -27,6 +27,7 @@ import org.apache.maven.project.MavenProject; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.sonar.api.batch.fs.internal.DefaultFileSystem; import org.sonar.api.config.Settings; @@ -51,14 +52,16 @@ public void shouldGetReportsFromProperty() { assertThat(SurefireUtils.getReportsDirectory(fileSystem, settings, null).isDirectory()).isTrue(); } -// @Test + @Ignore("caused test failures on release") + @Test public void shouldGetReportsFromPluginConfiguration() { MavenProject pom = MavenTestUtils.loadPom(getClass(), "shouldGetReportsFromPluginConfiguration/pom.xml"); assertThat(SurefireUtils.getReportsDirectory(fileSystem, settings, pom).exists()).isTrue(); assertThat(SurefireUtils.getReportsDirectory(fileSystem, settings, pom).isDirectory()).isTrue(); } -// @Test + @Ignore("caused test failures on release") + @Test public void shouldGetReportsFromDefaultConfiguration() { fileSystem.setBaseDir(new File("src/test/resources/surefire")); File reportsDir = SurefireUtils.getReportsDirectory(fileSystem, settings, null);