public class LocalRepositorySetupHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SVN_REPO_FORMAT_ARGUMENT |
static String |
SVN_REPO_FORMAT_VERSION |
Constructor and Description |
---|
LocalRepositorySetupHelper() |
Modifier and Type | Method and Description |
---|---|
static CvsRepositoryDescriptor |
createACopyOfCvsRepositoryFromDump(String dumpFileName,
Duration repositoryCreationTimeout) |
static File |
createACopyOfSshKey(String privKey) |
static File |
createACopyOfZipFileContents(String dumpFileName) |
static CvsRepositoryDescriptor |
createTempCvsRepositoryFromDefaultDumpFile() |
static SvnRepositoryDescriptor |
createTempSvnRepositoryFromDefaultDumpFile(Class<?> testClass) |
static SvnRepositoryDescriptor |
createTempSvnRepositoryFromDumpFile(Class<?> testClass,
String svnDumpFileName) |
static void |
deleteTempRepository(TestBuildDetails build) |
static void |
destroyTempRepository(RepositoryDescriptor descriptor) |
static SvnRepositoryDescriptor |
getSvnRepositoryForReadOnlyAccess() |
public static final String SVN_REPO_FORMAT_ARGUMENT
public static final String SVN_REPO_FORMAT_VERSION
public static SvnRepositoryDescriptor getSvnRepositoryForReadOnlyAccess()
public static SvnRepositoryDescriptor createTempSvnRepositoryFromDumpFile(@NotNull Class<?> testClass, @NotNull String svnDumpFileName) throws Exception
Exception
public static SvnRepositoryDescriptor createTempSvnRepositoryFromDefaultDumpFile(Class<?> testClass)
public static CvsRepositoryDescriptor createTempCvsRepositoryFromDefaultDumpFile() throws IOException
IOException
public static CvsRepositoryDescriptor createACopyOfCvsRepositoryFromDump(String dumpFileName, Duration repositoryCreationTimeout) throws IOException
IOException
public static File createACopyOfZipFileContents(String dumpFileName) throws IOException
IOException
public static File createACopyOfSshKey(String privKey) throws URISyntaxException
URISyntaxException
public static void deleteTempRepository(TestBuildDetails build)
public static void destroyTempRepository(RepositoryDescriptor descriptor)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.