Class GitSshCheckOutCommandTckTest
- java.lang.Object
-
- org.apache.maven.scm.PlexusJUnit4TestCase
-
- org.apache.maven.scm.ScmTestCase
-
- org.apache.maven.scm.ScmTckTestCase
-
- org.apache.maven.scm.tck.command.checkout.CheckOutCommandTckTest
-
- org.apache.maven.scm.provider.git.command.checkout.GitSshCheckOutCommandTckTest
-
public abstract class GitSshCheckOutCommandTckTest extends CheckOutCommandTckTest
-
-
Field Summary
Fields Modifier and Type Field Description protected GitSshServergitSshServerorg.junit.rules.TemporaryFoldertmpDirectory-
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
-
Fields inherited from class org.apache.maven.scm.PlexusJUnit4TestCase
testName
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGitSshCheckOutCommandTckTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidconfigureCredentials(ScmRepository repository, String passphrase)protected abstract StringgetScmProvider()StringgetScmUrl()voidinitRepo()voidremoveRepo()voidtestCheckOutCommandTest()voidtestCheckOutCommandWithPassphraseTest()-
Methods inherited from class org.apache.maven.scm.tck.command.checkout.CheckOutCommandTckTest
testMakeProviderScmRepositoryFromCheckoutDirectory
-
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, checkOut, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, mapFilesByPath, remove, setUp, tearDown
-
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, checkSystemCmdPresence, customizeContainerConfiguration, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute
-
Methods inherited from class org.apache.maven.scm.PlexusJUnit4TestCase
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
-
-
-
-
Field Detail
-
gitSshServer
protected final GitSshServer gitSshServer
-
tmpDirectory
public org.junit.rules.TemporaryFolder tmpDirectory
-
-
Constructor Detail
-
GitSshCheckOutCommandTckTest
protected GitSshCheckOutCommandTckTest() throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
-
Method Detail
-
getScmProvider
protected abstract String getScmProvider()
-
getScmUrl
public String getScmUrl() throws Exception
- Specified by:
getScmUrlin classScmTckTestCase- Throws:
Exception
-
configureCredentials
protected void configureCredentials(ScmRepository repository, String passphrase) throws Exception
- Throws:
Exception
-
initRepo
public void initRepo() throws Exception
- Specified by:
initRepoin classScmTckTestCase- Throws:
Exception
-
removeRepo
public void removeRepo() throws Exception
- Overrides:
removeRepoin classScmTckTestCase- Throws:
Exception
-
testCheckOutCommandTest
public void testCheckOutCommandTest() throws Exception
- Overrides:
testCheckOutCommandTestin classCheckOutCommandTckTest- Throws:
Exception
-
testCheckOutCommandWithPassphraseTest
public void testCheckOutCommandWithPassphraseTest() throws Exception
- Throws:
Exception
-
-