org.sonatype.aether.test.util.connector.suite
Class ConnectorTestSuiteSetup
java.lang.Object
org.sonatype.aether.test.util.connector.suite.ConnectorTestSuiteSetup
- Direct Known Subclasses:
- ConnectorTestSuite
public abstract class ConnectorTestSuiteSetup
- extends Object
Provides the Junit-callback methods to configure the ConnectorTestSuite
per connector.
- Author:
- Benjamin Hanzelmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repository
protected RemoteRepository repository
session
protected TestRepositorySystemSession session
ConnectorTestSuiteSetup
public ConnectorTestSuiteSetup(ConnectorTestSetup setup)
- Parameters:
setup
- The connector-specific callback handler to use.
before
public void before()
throws Exception
- If called for the first time, calls
ConnectorTestSetup.beforeClass(org.sonatype.aether.RepositorySystemSession)
. Always calls
ConnectorTestSetup.before(org.sonatype.aether.RepositorySystemSession, Map)
.
- Throws:
Exception
after
public void after()
throws Exception
- Calls
ConnectorTestSetup.after(org.sonatype.aether.RepositorySystemSession, RemoteRepository, Map)
.
- Throws:
Exception
factory
protected RepositoryConnectorFactory factory()
- Returns:
- the factory as determined by
ConnectorTestSetup.factory()
.
Copyright © 2010-2013. All Rights Reserved.