diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-01-13 10:48:39 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-01-13 10:48:39 +0100 |
commit | 0078dd22d4846868b808d83a2d53dad5676268f7 (patch) | |
tree | d7a367aba816a191a85cb4dd55dfff5116a9aac1 /src/test/java/org/sonarsource/scanner/cli/MainTest.java | |
parent | 24948c3f7082eb56e07238b3b4fd7c9681c368a6 (diff) | |
download | sonar-scanner-cli-0078dd22d4846868b808d83a2d53dad5676268f7.tar.gz sonar-scanner-cli-0078dd22d4846868b808d83a2d53dad5676268f7.zip |
SQSCANNER-10 Display correct version in logs and update labels
Diffstat (limited to 'src/test/java/org/sonarsource/scanner/cli/MainTest.java')
-rw-r--r-- | src/test/java/org/sonarsource/scanner/cli/MainTest.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/test/java/org/sonarsource/scanner/cli/MainTest.java b/src/test/java/org/sonarsource/scanner/cli/MainTest.java index 05afccf..8e9cdf3 100644 --- a/src/test/java/org/sonarsource/scanner/cli/MainTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/MainTest.java @@ -32,13 +32,6 @@ import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; import org.sonar.runner.api.EmbeddedRunner; -import org.sonarsource.scanner.cli.Cli; -import org.sonarsource.scanner.cli.Conf; -import org.sonarsource.scanner.cli.Exit; -import org.sonarsource.scanner.cli.Logs; -import org.sonarsource.scanner.cli.Main; -import org.sonarsource.scanner.cli.RunnerFactory; -import org.sonarsource.scanner.cli.Shutdown; import static org.mockito.Matchers.any; import static org.mockito.Mockito.doThrow; @@ -117,7 +110,7 @@ public class MainTest { verify(runner).stop(); verify(shutdown).exit(Exit.ERROR); - verify(logs).error("Error during Sonar runner execution", e); + verify(logs).error("Error during SonarQube Scanner execution", e); } @Test |