@Test public void unsupported_version() throws Exception { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("Unsupported sonar-scanner version: 1.0"); installer.install(Version.create("1.0"), temp.newFolder(), true); }
public File install(Version scannerVersion, File toDir, boolean useOldScript) { return install(scannerVersion, null, toDir, useOldScript); }
SonarScannerInstaller { public File install(Version scannerVersion, File toDir, boolean useOldScript) { return install(scannerVersion, null, toDir, useOldScript); } }
SonarScannerInstaller { public File install(Version scannerVersion, File toDir, boolean useOldScript) { return install(scannerVersion, null, toDir, useOldScript); } SonarScannerInstaller(Locators locators); }
SonarScannerInstaller { public File install(Version scannerVersion, File toDir, boolean useOldScript) { return install(scannerVersion, null, toDir, useOldScript); } SonarScannerInstaller(Locators locators); File install(Version scannerVersion, File toDir, boolean useOldScript); File install(Version scannerVersion, @Nullable String classifier, File toDir, boolean useOldScript); }
SonarScannerInstaller { public File install(Version scannerVersion, File toDir, boolean useOldScript) { return install(scannerVersion, null, toDir, useOldScript); } SonarScannerInstaller(Locators locators); File install(Version scannerVersion, File toDir, boolean useOldScript); File install(Version scannerVersion, @Nullable String classifier, File toDir, boolean useOldScript);  }