diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-09-10 11:16:32 +0200 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-09-10 11:16:32 +0200 |
commit | 4c56d81fdcfe24b1e4fd049b23f7bc673e246af0 (patch) | |
tree | b090763d2fbea88fb2922f519ae96358fe88bffa /src/test/java/org/sonar/runner/RunnerTest.java | |
parent | 3cd42ac0a5e2b24ce579ed86823bcc1c97d16c16 (diff) | |
download | sonar-scanner-cli-4c56d81fdcfe24b1e4fd049b23f7bc673e246af0.tar.gz sonar-scanner-cli-4c56d81fdcfe24b1e4fd049b23f7bc673e246af0.zip |
SONARPLUGINS-2202 Change some property names
The 2 following properties have been introduced for better
readability and consistency:
- sonar.projectBaseDir
- sonar.projectConfigFile
Diffstat (limited to 'src/test/java/org/sonar/runner/RunnerTest.java')
-rw-r--r-- | src/test/java/org/sonar/runner/RunnerTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/sonar/runner/RunnerTest.java b/src/test/java/org/sonar/runner/RunnerTest.java index 7c5bd7d..51d3af2 100644 --- a/src/test/java/org/sonar/runner/RunnerTest.java +++ b/src/test/java/org/sonar/runner/RunnerTest.java @@ -81,9 +81,9 @@ public class RunnerTest { public void shouldInitDirs() throws Exception { Properties props = new Properties(); File home = TestUtils.getResource(this.getClass(), "shouldInitDirs"); - props.setProperty(Runner.PROPERTY_PROJECT_DIR, home.getCanonicalPath()); + props.setProperty(Runner.PROPERTY_SONAR_PROJECT_BASEDIR, home.getCanonicalPath()); Runner runner = Runner.create(props); - assertThat(runner.getProperties().get(Runner.PROPERTY_PROJECT_DIR)).isEqualTo(home.getCanonicalPath()); + assertThat(runner.getProperties().get(Runner.PROPERTY_SONAR_PROJECT_BASEDIR)).isEqualTo(home.getCanonicalPath()); assertThat(runner.getProjectDir()).isEqualTo(home); assertThat(runner.getWorkDir()).isEqualTo(new File(home, ".sonar")); |