aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-06-26 11:48:10 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2013-06-26 11:48:10 +0200
commit2c7027bd9044452cb6d56c9bcb1178c4388c833c (patch)
tree651e6318118010ca6f54dbb9eb428ebbf65454db /plugins
parent61e3e7a2551b42c4ede37cbdee5392e1d93d6a31 (diff)
downloadsonarqube-2c7027bd9044452cb6d56c9bcb1178c4388c833c.tar.gz
sonarqube-2c7027bd9044452cb6d56c9bcb1178c4388c833c.zip
Fix test compilation
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-maven-batch-plugin/src/test/java/org/sonar/plugins/maven/RealMavenPluginExecutorTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-maven-batch-plugin/src/test/java/org/sonar/plugins/maven/RealMavenPluginExecutorTest.java b/plugins/sonar-maven-batch-plugin/src/test/java/org/sonar/plugins/maven/RealMavenPluginExecutorTest.java
index ae359d9272e..74a9de56f00 100644
--- a/plugins/sonar-maven-batch-plugin/src/test/java/org/sonar/plugins/maven/RealMavenPluginExecutorTest.java
+++ b/plugins/sonar-maven-batch-plugin/src/test/java/org/sonar/plugins/maven/RealMavenPluginExecutorTest.java
@@ -57,7 +57,7 @@ public class RealMavenPluginExecutorTest {
public void should_reset_file_system_after_execution() {
RealMavenPluginExecutor executor = new RealMavenPluginExecutor(null, null) {
@Override
- public void concreteExecute(MavenProject pom, String goal) throws Exception {
+ public void concreteExecute(MavenProject pom, String goal) {
pom.addCompileSourceRoot("src/java");
}
};
@@ -76,7 +76,7 @@ public class RealMavenPluginExecutorTest {
public void should_ignore_non_maven_projects() {
RealMavenPluginExecutor executor = new RealMavenPluginExecutor(null, null) {
@Override
- public void concreteExecute(MavenProject pom, String goal) throws Exception {
+ public void concreteExecute(MavenProject pom, String goal) {
pom.addCompileSourceRoot("src/java");
}
};