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.- Since:
- 5.11
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.junit.ssh.SshTestHarness
SshTestHarness.LogEntry, SshTestHarness.TestCredentialsProvider -
Field Summary
FieldsFields inherited from class org.eclipse.jgit.junit.ssh.SshTestHarness
knownHosts, privateKey1, privateKey2, publicKey1, publicKey2, server, sshDir, TEST_USER, testPortFields inherited from class org.eclipse.jgit.junit.RepositoryTestCase
db, trashFields inherited from class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, currentTest, LENGTH, mockSystemReader, MOD_TIME, SMUDGE, testRoot -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jgit.junit.ssh.SshTestHarness
cloneWith, copyTestResource, copyTestResource, createKnownHostsFile, createSessionFactory, getSessionFactory, hasHostKey, installConfig, pushTo, pushTo, shutdownServerMethods inherited from class org.eclipse.jgit.junit.RepositoryTestCase
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, createGitLink, deleteTrashFile, fsTick, getRefs, indexState, lookup, read, resetIndex, slashify, tearDown, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesMethods inherited from class org.eclipse.jgit.junit.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
- Overrides:
setUpin classSshTestHarness- Throws:
Exception
-
testSshCloneWithConfig
- Throws:
Exception
-
testSshFetchWithConfig
- Throws:
Exception
-