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 void |
deleteTempRepository(TestBuildDetails build) |
static void |
destroyTempRepository(RepositoryDescriptor descriptor) |
static String |
getSvnAdminPath() |
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 createTempSvnRepositoryFromDefaultDumpFile(Class<?> testClass)
public static CvsRepositoryDescriptor createTempCvsRepositoryFromDefaultDumpFile() throws IOException
IOException
@NotNull public static String getSvnAdminPath()
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 © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.