Class SshBasicTestBase
java.lang.Object
org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
org.eclipse.jgit.junit.RepositoryTestCase
org.eclipse.jgit.junit.ssh.SshTestHarness
org.eclipse.jgit.junit.ssh.SshBasicTestBase
- Direct Known Subclasses:
SshTestBase
Some minimal cloning and fetching tests. Concrete subclasses can implement
the abstract operations from
SshTestHarness to run with different SSH
implementations.-
Nested Class Summary
Nested classes/interfaces inherited from class SshTestHarness
SshTestHarness.LogEntry, SshTestHarness.TestCredentialsProvider -
Field Summary
FieldsFields inherited from class SshTestHarness
knownHosts, privateKey1, privateKey2, publicKey1, publicKey2, server, sshDir, TEST_USER, testPortFields inherited from class RepositoryTestCase
db, trashFields inherited from class LocalDiskRepositoryTestCase
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SshTestHarness
cloneWith, copyTestResource, copyTestResource, createKnownHostsFile, createSessionFactory, getSessionFactory, hasHostKey, installConfig, pushTo, pushTo, shutdownServerMethods inherited from class RepositoryTestCase
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, createGitLink, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, tearDown, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesMethods inherited from class LocalDiskRepositoryTestCase
addRepoToClose, createBareRepository, createRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tick, write, write
-
Field Details
-
defaultCloneDir
-
-
Constructor Details
-
SshBasicTestBase
public SshBasicTestBase()
-
-
Method Details
-
setUp
Description copied from class:RepositoryTestCaseSetup test- Overrides:
setUpin classSshTestHarness- Throws:
Exception
-
testSshCloneWithConfig
-
testSshFetchWithConfig
-