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_ZONE
testName
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() |
void |
removeRepo() |
void |
testCheckOutCommandTest() |
void |
testCheckOutCommandWithPassphraseTest() |
addToWorkingTree, checkIn, checkOut, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, mapFilesByPath, remove, setUp, tearDown
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, checkScmPresence, customizeContainerConfiguration, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, printSystemCmdUnavail, setDebugExecute
customizeComponentConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getCustomModules, getName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, lookupMap, release, setupContainer
protected final org.apache.sshd.server.SshServer sshServer
protected final List<PublicKey> acceptedPublicKeys
public org.junit.rules.TemporaryFolder tmpDirectory
protected GitSshCheckOutCommandTckTest() throws GeneralSecurityException
GeneralSecurityException
protected abstract String getScmProvider()
public String getScmUrl() throws Exception
getScmUrl
in class ScmTckTestCase
Exception
public void configureCredentials(ScmRepository repository, String passphrase) throws Exception
Exception
public void initRepo() throws Exception
initRepo
in class ScmTckTestCase
Exception
public void removeRepo() throws Exception
removeRepo
in class ScmTckTestCase
Exception
public void testCheckOutCommandTest() throws Exception
testCheckOutCommandTest
in class CheckOutCommandTckTest
Exception
public void testCheckOutCommandWithPassphraseTest() throws Exception
Exception
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.