org.apache.maven.wagon.providers.ssh.knownhost
public class KnownHostsProviderTestCase extends PlexusTestCase
Field Summary | |
---|---|
protected KnownHostsProvider | changedHostsProvider |
static String | CHANGED_KEY |
static String | CORRECT_KEY |
protected KnownHostsProvider | failHostsProvider |
protected KnownHostsProvider | okHostsProvider |
Repository | source |
SshWagon | wagon |
Method Summary | |
---|---|
protected void | setUp() |
void | testChangedKey()
tests what happens if the remote host has changed since being recorded.
|
void | testCorrectKey()
tests what happens if the remote host has the expected key
|
void | testIncorrectKey()
tests what happens if the remote host has a different key than the one
we expect
|
Throws: Exception on error
Throws: Exception on error
Throws: Exception on error