Package com.atlassian.bamboo.testutils
Class LocalRepositorySetupHelper
- java.lang.Object
-
- com.atlassian.bamboo.testutils.LocalRepositorySetupHelper
-
public class LocalRepositorySetupHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SVN_REPO_FORMAT_ARGUMENT
static String
SVN_REPO_FORMAT_VERSION
-
Constructor Summary
Constructors Constructor Description LocalRepositorySetupHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
createACopyOfSshKey(String privKey)
static File
createACopyOfZipFileContents(String dumpFileName)
static SvnRepositoryDescriptor
createTempSvnRepositoryFromDefaultDumpFile(Class<?> testClass)
static void
deleteTempRepository(TestBuildDetails build)
static void
destroyTempRepository(RepositoryDescriptor descriptor)
static @NotNull String
getSvnAdminPath()
static SvnRepositoryDescriptor
getSvnRepositoryForReadOnlyAccess()
-
-
-
Field Detail
-
SVN_REPO_FORMAT_ARGUMENT
public static final String SVN_REPO_FORMAT_ARGUMENT
- See Also:
- Constant Field Values
-
SVN_REPO_FORMAT_VERSION
public static final String SVN_REPO_FORMAT_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSvnRepositoryForReadOnlyAccess
public static SvnRepositoryDescriptor getSvnRepositoryForReadOnlyAccess()
-
createTempSvnRepositoryFromDefaultDumpFile
public static SvnRepositoryDescriptor createTempSvnRepositoryFromDefaultDumpFile(Class<?> testClass)
-
getSvnAdminPath
@NotNull public static @NotNull String getSvnAdminPath()
-
createACopyOfZipFileContents
public static File createACopyOfZipFileContents(String dumpFileName) throws IOException
- Throws:
IOException
-
createACopyOfSshKey
public static File createACopyOfSshKey(String privKey) throws URISyntaxException
- Throws:
URISyntaxException
-
deleteTempRepository
public static void deleteTempRepository(TestBuildDetails build)
-
destroyTempRepository
public static void destroyTempRepository(RepositoryDescriptor descriptor)
-
-