aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-findbugs-plugin
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-10-27 02:25:26 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-10-27 02:25:26 +0400
commit270bd7ecbcb072f9d29459c6bdc0b531382fde65 (patch)
tree873f8f2f4eb583ba3ae66e8e21e4f975efe03750 /plugins/sonar-findbugs-plugin
parent5570820af81ea3549c9e95c56534f39c8afa123c (diff)
downloadsonarqube-270bd7ecbcb072f9d29459c6bdc0b531382fde65.tar.gz
sonarqube-270bd7ecbcb072f9d29459c6bdc0b531382fde65.zip
Revert "SONAR-2594 Fix tests"
This reverts commit 6c0ae292c9d12eaa61b1507831eb9905ea2c6c40.
Diffstat (limited to 'plugins/sonar-findbugs-plugin')
-rw-r--r--plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsExecutorTest.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsExecutorTest.java b/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsExecutorTest.java
index 5930f711dea..812f5180b8e 100644
--- a/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsExecutorTest.java
+++ b/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsExecutorTest.java
@@ -26,9 +26,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.io.File;
-import java.util.Locale;
-import org.apache.commons.configuration.BaseConfiguration;
import org.apache.commons.io.FileUtils;
import org.junit.Test;
import org.sonar.api.CoreProperties;
@@ -66,7 +64,6 @@ public class FindbugsExecutorTest {
Project project = mock(Project.class);
ProjectFileSystem fs = mock(ProjectFileSystem.class);
when(project.getFileSystem()).thenReturn(fs);
- when(project.getConfiguration()).thenReturn(new BaseConfiguration());
FindbugsConfiguration conf = new FindbugsConfiguration(project, null, null, null);
new FindbugsExecutor(conf).execute();
@@ -83,7 +80,6 @@ public class FindbugsExecutorTest {
when(conf.saveIncludeConfigXml()).thenReturn(new File("test-resources/findbugs-include.xml"));
when(conf.getEffort()).thenReturn("default");
when(conf.getTimeout()).thenReturn(CoreProperties.FINDBUGS_TIMEOUT_DEFAULT_VALUE);
- when(conf.getLocale()).thenReturn(Locale.ENGLISH);
return conf;
}