diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-09-05 16:17:47 +0200 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-09-05 16:17:47 +0200 |
commit | e42e7ec4637e7ce657f2796c8c4ae637c22676b9 (patch) | |
tree | 0329e228b55e5d248b5a45c42caacc0ca3eb35c1 /src/test/java/org/sonar/runner/RunnerTest.java | |
parent | e76b7521b278dbbbdf9e8bd3c885e55b7132d19d (diff) | |
download | sonar-scanner-cli-e42e7ec4637e7ce657f2796c8c4ae637c22676b9.tar.gz sonar-scanner-cli-e42e7ec4637e7ce657f2796c8c4ae637c22676b9.zip |
Fix unit test
Diffstat (limited to 'src/test/java/org/sonar/runner/RunnerTest.java')
-rw-r--r-- | src/test/java/org/sonar/runner/RunnerTest.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/java/org/sonar/runner/RunnerTest.java b/src/test/java/org/sonar/runner/RunnerTest.java index a529805..abcd46d 100644 --- a/src/test/java/org/sonar/runner/RunnerTest.java +++ b/src/test/java/org/sonar/runner/RunnerTest.java @@ -73,16 +73,6 @@ public class RunnerTest { } @Test - public void shouldFailInitDirsIfNotExist() throws Exception { - Properties props = new Properties(); - - props.setProperty("project.home", new File("target/foo/").getCanonicalPath()); - thrown.expect(IllegalArgumentException.class); - thrown.expectMessage("Project home must be an existing directory: "); - Runner.create(props); - } - - @Test public void shouldInitProjectDirWithCurrentDir() throws Exception { Runner runner = Runner.create(new Properties()); |