Package org.eclipse.jgit.junit.ssh
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 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, testPort
Fields inherited from class org.eclipse.jgit.junit.RepositoryTestCase
db, trash
Fields inherited from class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
-
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, shutdownServer
Methods inherited from class org.eclipse.jgit.junit.RepositoryTestCase
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, createGitLink, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, tearDown, writeLink, writeTrashFile, writeTrashFile, writeTrashFiles
Methods 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
Description copied from class:RepositoryTestCase
Setup test- Overrides:
setUp
in classSshTestHarness
- Throws:
Exception
-
testSshCloneWithConfig
- Throws:
Exception
-
testSshFetchWithConfig
- Throws:
Exception
-