aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-11 14:23:34 +0200
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-11 14:23:34 +0200
commit324d44738cd6edf783ed519e3ec300e6ed3a9c30 (patch)
tree8f7cbd01c01de9c7f5cc5a9c7005bbc734e68a7a /src/test
parentbc6c828837965fdcc41797d44be7f24f133b1a7c (diff)
downloadsonar-scanner-cli-324d44738cd6edf783ed519e3ec300e6ed3a9c30.tar.gz
sonar-scanner-cli-324d44738cd6edf783ed519e3ec300e6ed3a9c30.zip
SONARPLUGINS-2202 Make it possible to pass environment information
Necessary for the Ant task for instance: - masked packages - container extensions => This part of the API should be improved
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/sonar/runner/internal/batch/LauncherTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/sonar/runner/internal/batch/LauncherTest.java b/src/test/java/org/sonar/runner/internal/batch/LauncherTest.java
index 489b005..979a517 100644
--- a/src/test/java/org/sonar/runner/internal/batch/LauncherTest.java
+++ b/src/test/java/org/sonar/runner/internal/batch/LauncherTest.java
@@ -19,7 +19,7 @@
*/
package org.sonar.runner.internal.batch;
-
+import com.google.common.collect.Lists;
import org.apache.commons.configuration.BaseConfiguration;
import org.apache.commons.configuration.Configuration;
import org.junit.Test;
@@ -60,7 +60,7 @@ public class LauncherTest {
@Test
public void shouldDetermineVerboseMode() {
Properties properties = new Properties();
- Launcher launcher = new Launcher(properties);
+ Launcher launcher = new Launcher(properties, Lists.newArrayList());
assertThat(launcher.isDebug()).isFalse();
properties.setProperty(Runner.PROPERTY_VERBOSE, "true");
assertThat(launcher.isDebug()).isTrue();
@@ -69,7 +69,7 @@ public class LauncherTest {
@Test
public void shouldSupportDeprecatedDebugProperty() {
Properties properties = new Properties();
- Launcher launcher = new Launcher(properties);
+ Launcher launcher = new Launcher(properties, Lists.newArrayList());
properties.setProperty(Runner.PROPERTY_OLD_DEBUG_MODE, "true");
assertThat(launcher.isDebug()).isTrue();
}