com.atlassian.bamboo.testutils
Class LocalRepositorySetupHelper
java.lang.Object
com.atlassian.bamboo.testutils.LocalRepositorySetupHelper
public class LocalRepositorySetupHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalRepositorySetupHelper
public LocalRepositorySetupHelper()
createTempSvnRepositoryFromDumpFile
public static FilebasedRepositoryDescriptor createTempSvnRepositoryFromDumpFile(@NotNull
java.lang.String svnDumpFileName)
throws java.util.concurrent.TimeoutException,
java.io.IOException,
java.lang.InterruptedException
- Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
createTempSvnRepositoryFromDefaultDumpFile
public static FilebasedRepositoryDescriptor createTempSvnRepositoryFromDefaultDumpFile()
throws java.util.concurrent.TimeoutException,
java.io.IOException,
java.lang.InterruptedException
- Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
createTempCvsRepositoryFromDefaultDumpFile
public static FilebasedRepositoryDescriptor createTempCvsRepositoryFromDefaultDumpFile()
throws java.io.IOException
- Throws:
java.io.IOException
createACopyOfCvsRepositoryFromDump
public static FilebasedRepositoryDescriptor createACopyOfCvsRepositoryFromDump(java.lang.String dumpFileName,
long repositoryCreationTimeout)
throws java.io.IOException
- Throws:
java.io.IOException
createACopyOfZipFileContents
public static java.io.File createACopyOfZipFileContents(java.lang.String dumpFileName)
throws java.io.IOException
- Throws:
java.io.IOException
createACopyOfSshKey
public static java.io.File createACopyOfSshKey(java.lang.String privKey)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
deleteTempRepository
public static void deleteTempRepository(TestBuildDetails build)
destroyTempRepository
public static void destroyTempRepository(RepositoryDescriptor descriptor)
throws java.io.IOException
- Throws:
java.io.IOException
copyZipResourceToDirectory
public static void copyZipResourceToDirectory(java.lang.String zipResourceName,
java.io.File directory)
throws java.io.FileNotFoundException,
java.net.URISyntaxException
- Pulled from atlassian test tools while I attempt to adjust it to allow for zips inside jars.
- Throws:
java.io.FileNotFoundException
java.net.URISyntaxException
unzip
public static void unzip(java.util.zip.ZipInputStream zis,
java.io.File destinationDirectory)
- Pulled from atlassian test tools while I attempt to adjust it to allow for zips inside jars.
Copyright © 2012 Atlassian. All Rights Reserved.