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
public abstract class SshBasicTestBase extends SshTestHarness
Some minimal cloning and fetching tests. Concrete subclasses can implement the abstract operations fromSshTestHarness
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
Fields Modifier and Type Field Description protected File
defaultCloneDir
-
Fields 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, currentTest, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
-
-
Constructor Summary
Constructors Constructor Description SshBasicTestBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
Setup testvoid
testSshCloneWithConfig()
void
testSshFetchWithConfig()
-
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, getRefs, 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 Detail
-
defaultCloneDir
protected File defaultCloneDir
-
-
Method Detail
-
setUp
public void setUp() throws Exception
Description copied from class:RepositoryTestCase
Setup test- Overrides:
setUp
in classSshTestHarness
- Throws:
Exception
-
-