public abstract class SshTestBase extends SshTestHarness
SshTestHarness. This gives a way to test
different ssh clients against a unified test suite.SshTestHarness.LogEntry, SshTestHarness.TestCredentialsProvider| Modifier and Type | Field and Description |
|---|---|
protected File |
defaultCloneDir |
static String[] |
KEY_RESOURCES |
knownHosts, privateKey1, privateKey2, publicKey1, server, sshDir, TEST_USER, testPortdb, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
SshTestBase() |
cloneWith, copyTestResource, copyTestResource, createKnownHostsFile, createSessionFactory, getSessionFactory, hasHostKey, installConfig, pushTo, pushTo, shutdownServerassertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic static String[] KEY_RESOURCES
protected File defaultCloneDir
public void setUp()
throws Exception
RepositoryTestCasesetUp in class SshTestHarnessExceptionpublic void testSshWithGlobalIdentity()
throws Exception
Exceptionpublic void testSshWithDefaultIdentity()
throws Exception
Exceptionpublic void testSshWithConfigEncryptedUnusedKey()
throws Exception
Exceptionpublic void testSshWithConfigEncryptedUnusedKeyInConfigLast()
throws Exception
Exceptionpublic void testSshWithConfigEncryptedUnusedKeyInConfigFirst()
throws Exception
Exceptionpublic void testSshEncryptedUsedKeyCached()
throws Exception
Exceptionpublic void testSshEncryptedUsedKeyWrongPassword()
throws Exception
Exceptionpublic void testSshEncryptedUsedKeySeveralPassword()
throws Exception
Exceptionpublic void testSshWithoutKnownHostsWithProviderAsk()
throws Exception
Exceptionpublic void testSshWithoutKnownHostsWithProviderAcceptNew()
throws Exception
Exceptionpublic void testSshWithoutKnownHostsDeny()
throws Exception
Exceptionpublic void testSshModifiedHostKeyDeny()
throws Exception
Exceptionpublic void testSshModifiedHostKeyWithProviderDeny()
throws Exception
Exceptionpublic void testSshModifiedHostKeyAllow()
throws Exception
Exceptionpublic void testSshModifiedHostKeyAsk()
throws Exception
Exceptionpublic void testSshCloneWithConfigAndPush()
throws Exception
Exceptionpublic void testSftpCloneWithConfigAndPush()
throws Exception
Exceptionpublic void testSshWithConfigWrongKey()
throws Exception
Exceptionpublic void testSshWithWrongUserNameInConfig()
throws Exception
Exceptionpublic void testSshWithWrongPortInConfig()
throws Exception
Exceptionpublic void testSshWithUnknownCiphersInConfig()
throws Exception
Exceptionpublic void testSshWithUnknownHostKeyAlgorithmsInConfig()
throws Exception
Exceptionpublic void testSshWithUnknownKexAlgorithmsInConfig()
throws Exception
Exceptionpublic void testSshWithMinimalHostKeyAlgorithmsInConfig()
throws Exception
Exceptionpublic void testSshWithUnknownAuthInConfig()
throws Exception
Exceptionpublic void testSshWithNoMatchingAuthInConfig()
throws Exception
Exceptionpublic void testPasswordAuthSeveralTimes()
throws Exception
Exceptionpublic void testPasswordAuthWrongPassword()
throws Exception
Exceptionpublic void testPasswordAuthNoPassword()
throws Exception
Exceptionpublic void testPasswordAuthCorrectPasswordTooLate()
throws Exception
Exceptionpublic void testKeyboardInteractiveAuth()
throws Exception
Exceptionpublic void testKeyboardInteractiveAuthSeveralTimes()
throws Exception
Exceptionpublic void testKeyboardInteractiveAuthWrongPassword()
throws Exception
Exceptionpublic void testKeyboardInteractiveAuthNoPassword()
throws Exception
Exceptionpublic void testKeyboardInteractiveAuthCorrectPasswordTooLate()
throws Exception
ExceptionCopyright © 2019 Eclipse JGit Project. All rights reserved.