diff options
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner/mediumtest/FakePluginInstaller.java')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/mediumtest/FakePluginInstaller.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/mediumtest/FakePluginInstaller.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/mediumtest/FakePluginInstaller.java index 06e4e066c22..fb48e11b424 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/mediumtest/FakePluginInstaller.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/mediumtest/FakePluginInstaller.java @@ -24,6 +24,7 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.Set; import javax.annotation.Priority; import org.sonar.api.Plugin; import org.sonar.core.platform.PluginInfo; @@ -48,7 +49,17 @@ public class FakePluginInstaller implements PluginInstaller { } @Override - public Map<String, ScannerPlugin> installRemotes() { + public Map<String, ScannerPlugin> installAllPlugins() { + return pluginsByKeys; + } + + @Override + public Map<String, ScannerPlugin> installRequiredPlugins() { + return pluginsByKeys; + } + + @Override + public Map<String, ScannerPlugin> installPluginsForLanguages(Set<String> languageKeys) { return pluginsByKeys; } |