Top Description Fields Constructors Methods
org.eclipse.jgit.junit.ssh

public abstract Class SshBasicTestBase

extends SshTestHarness
Class Inheritance
Known Direct Subclasses
org.eclipse.jgit.junit.ssh.SshTestBase
Static Imports
org.junit.Assert.assertEquals, .Assert.assertFalse, .Assert.assertTrue

Some minimal cloning and fetching tests. Concrete subclasses can implement the abstract operations from SshTestHarness to run with different SSH implementations.
Since
5.11

Field Summary

Modifier and TypeField and Description
protected File
Inherited from org.eclipse.jgit.junit.ssh.SshTestHarness:
knownHostsprivateKey1privateKey2publicKey1publicKey2serversshDirTEST_USERtestPort

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
Inherited from org.eclipse.jgit.junit.ssh.SshTestHarness:
cloneWithcopyTestResourcecopyTestResourcecreateKnownHostsFilecreateSessionFactorygetSessionFactoryhasHostKeyinstallConfigpushTopushToshutdownServer

Field Detail

defaultCloneDirback to summary
protected File defaultCloneDir

Constructor Detail

SshBasicTestBaseback to summary
public SshBasicTestBase()

Method Detail

setUpback to summary
public void setUp() throws Exception

Overrides org.eclipse.jgit.junit.ssh.SshTestHarness.setUp.

Doc from org.eclipse.jgit.junit.LocalDiskRepositoryTestCase.setUp.

Setup test

Annotations
@Override
Exceptions
Exception:
if an error occurred
testSshCloneWithConfigback to summary
public void testSshCloneWithConfig() throws Exception
Annotations
@Test
testSshFetchWithConfigback to summary
public void testSshFetchWithConfig() throws Exception
Annotations
@Test