summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/sonar/runner/MainTest.java
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2012-07-19 14:39:01 +0000
committerFabrice Bellingard <bellingard@gmail.com>2012-07-19 14:39:01 +0000
commit18ce02ea44a241694377ebd1dd36350c4220e2b6 (patch)
tree8c1d57a3ae022f0c994ce74eb824ee9f591ee90e /src/test/java/org/sonar/runner/MainTest.java
parentc7d65715c793f962e154310aa2b1460ebcdd86b8 (diff)
downloadsonar-scanner-cli-18ce02ea44a241694377ebd1dd36350c4220e2b6.tar.gz
sonar-scanner-cli-18ce02ea44a241694377ebd1dd36350c4220e2b6.zip
SONARPLUGINS-1230 Configure the location of working directory
Diffstat (limited to 'src/test/java/org/sonar/runner/MainTest.java')
-rw-r--r--src/test/java/org/sonar/runner/MainTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/sonar/runner/MainTest.java b/src/test/java/org/sonar/runner/MainTest.java
index ab324cb..3696091 100644
--- a/src/test/java/org/sonar/runner/MainTest.java
+++ b/src/test/java/org/sonar/runner/MainTest.java
@@ -49,13 +49,13 @@ public class MainTest {
@Test
public void shouldEnableDebugMode() {
Properties props = Main.parseArguments(new String[] { "-X" });
- assertThat(props.getProperty(Runner.VERBOSE), is("true"));
+ assertThat(props.getProperty(Runner.PROPERTY_VERBOSE), is("true"));
}
@Test
public void shouldDisableDebugModeByDefault() {
Properties props = Main.parseArguments(new String[] {});
- assertThat(props.getProperty(Runner.VERBOSE), nullValue());
+ assertThat(props.getProperty(Runner.PROPERTY_VERBOSE), nullValue());
}
@Test