public class ConfigServerTestUtils extends Object
| Constructor and Description |
|---|
ConfigServerTestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
copyLocalRepo(String path) |
static boolean |
deleteLocalRepo(String path) |
static String |
getBaseDirectory(String potentialRoot) |
static Object |
getProperty(Environment env,
String sourceNameEndsWith,
String property) |
static org.eclipse.jgit.lib.Repository |
prepareBareRemote() |
static String |
prepareLocalRepo() |
static String |
prepareLocalRepo(String repoPath) |
static String |
prepareLocalRepo(String baseDir,
String buildDir,
String repoPath,
String checkoutDir) |
static String |
prepareLocalSvnRepo(String sourceDir,
String checkoutDir) |
public static org.eclipse.jgit.lib.Repository prepareBareRemote()
throws IOException
IOExceptionpublic static String prepareLocalRepo() throws IOException
IOExceptionpublic static String prepareLocalRepo(String repoPath) throws IOException
IOExceptionpublic static String prepareLocalRepo(String baseDir, String buildDir, String repoPath, String checkoutDir) throws IOException
IOExceptionpublic static String prepareLocalSvnRepo(String sourceDir, String checkoutDir) throws Exception
Exceptionpublic static String copyLocalRepo(String path) throws IOException
IOExceptionpublic static boolean deleteLocalRepo(String path) throws IOException
IOExceptionpublic static Object getProperty(Environment env, String sourceNameEndsWith, String property)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.