Polish
This commit is contained in:
@@ -29,7 +29,11 @@ import org.eclipse.jgit.transport.URIish;
|
||||
/**
|
||||
* @author Marcin Grzejszczak
|
||||
*/
|
||||
public class GitTestUtils {
|
||||
public final class GitTestUtils {
|
||||
|
||||
private GitTestUtils() {
|
||||
throw new IllegalStateException("Can't instantiate a utility class");
|
||||
}
|
||||
|
||||
public static void setOriginOnProjectToTmp(File origin, File project)
|
||||
throws GitAPIException, MalformedURLException {
|
||||
|
||||
@@ -21,7 +21,11 @@ import java.io.IOException;
|
||||
|
||||
import org.eclipse.jgit.util.FileUtils;
|
||||
|
||||
public class TestUtils {
|
||||
public final class TestUtils {
|
||||
|
||||
private TestUtils() {
|
||||
throw new IllegalStateException("Can't instantiate a utility class");
|
||||
}
|
||||
|
||||
public static void prepareLocalRepo() throws IOException {
|
||||
prepareLocalRepo("target/test-classes/projects/", "spring-cloud");
|
||||
|
||||
@@ -805,6 +805,8 @@ public class AcceptanceTests {
|
||||
.add(s));
|
||||
releaserProperties.getGit().setDocumentationUrl(
|
||||
file("/projects/spring-cloud-static-angel/").toURI().toString());
|
||||
releaserProperties.getGit().setReleaseTrainBomUrl(
|
||||
file("/projects/spring-cloud-release/").toURI().toString());
|
||||
releaserProperties.getMaven().setBuildCommand("echo executed_build");
|
||||
releaserProperties.getMaven().setDeployCommand("echo executed_deploy");
|
||||
releaserProperties.getMaven()
|
||||
|
||||
Reference in New Issue
Block a user