public abstract class ConnectorTestSuiteSetup extends Object
ConnectorTestSuite per connector.| Modifier and Type | Field and Description |
|---|---|
protected RemoteRepository |
repository |
protected TestRepositorySystemSession |
session |
| Constructor and Description |
|---|
ConnectorTestSuiteSetup(ConnectorTestSetup setup) |
| Modifier and Type | Method and Description |
|---|---|
void |
after()
|
void |
before()
If called for the first time, calls
ConnectorTestSetup.beforeClass(org.sonatype.aether.RepositorySystemSession). |
protected RepositoryConnectorFactory |
factory() |
protected RemoteRepository repository
protected TestRepositorySystemSession session
public ConnectorTestSuiteSetup(ConnectorTestSetup setup)
setup - The connector-specific callback handler to use.public void before()
throws Exception
ConnectorTestSetup.beforeClass(org.sonatype.aether.RepositorySystemSession). Always calls
ConnectorTestSetup.before(org.sonatype.aether.RepositorySystemSession, Map).Exceptionprotected RepositoryConnectorFactory factory()
ConnectorTestSetup.factory().Copyright © 2010-2014 Sonatype, Inc.. All Rights Reserved.