public abstract class GitSshCheckOutCommandTckTest extends CheckOutCommandTckTest
| Modifier and Type | Field and Description |
|---|---|
protected List<PublicKey> |
acceptedPublicKeys |
protected KeyPair |
keyPair |
protected org.apache.sshd.server.SshServer |
sshServer |
org.junit.rules.TemporaryFolder |
tmpDirectory |
GMT_TIME_ZONEtestName| Modifier | Constructor and Description |
|---|---|
protected |
GitSshCheckOutCommandTckTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureCredentials(ScmRepository repository,
String passphrase) |
protected abstract String |
getScmProvider() |
String |
getScmUrl() |
void |
initRepo()
Initialize repository at the
ScmTckTestCase.getScmUrl() location with the files in ScmTckTestCase.getScmFileNames() |
void |
removeRepo()
This method is available to those SCM clients that need to perform
a cleanup at the end of the tests.
|
void |
testCheckOutCommandTest() |
void |
testCheckOutCommandWithPassphraseTest() |
addToWorkingTree, checkIn, checkOut, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, mapFilesByPath, remove, setUp, tearDownassertCommandLine, assertFile, assertPath, assertResultIsSuccess, checkScmPresence, customizeContainerConfiguration, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecutecustomizeComponentConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getCustomModules, getName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, lookupMap, release, setupContainerprotected final org.apache.sshd.server.SshServer sshServer
protected final List<PublicKey> acceptedPublicKeys
public org.junit.rules.TemporaryFolder tmpDirectory
protected GitSshCheckOutCommandTckTest() throws GeneralSecurityException
GeneralSecurityExceptionprotected abstract String getScmProvider()
public String getScmUrl() throws Exception
getScmUrl in class ScmTckTestCaseException - if anypublic void configureCredentials(ScmRepository repository, String passphrase) throws Exception
Exceptionpublic void initRepo() throws Exception
Initialize repository at the ScmTckTestCase.getScmUrl() location with the files in ScmTckTestCase.getScmFileNames()
The setup is also asserting on the existence of these files.
This should only be used by this class (thus do not call this method from derived classes)
initRepo in class ScmTckTestCaseException - if anypublic void removeRepo() throws Exception
ScmTckTestCaseremoveRepo in class ScmTckTestCaseExceptionpublic void testCheckOutCommandTest() throws Exception
testCheckOutCommandTest in class CheckOutCommandTckTestExceptionpublic void testCheckOutCommandWithPassphraseTest() throws Exception
ExceptionCopyright © 2003–2024 The Apache Software Foundation. All rights reserved.