public abstract static class ConnectorTestSetup.AbstractConnectorTestSetup extends Object implements ConnectorTestSetup
ConnectorTestSetup
.ConnectorTestSetup.AbstractConnectorTestSetup
Constructor and Description |
---|
ConnectorTestSetup.AbstractConnectorTestSetup() |
Modifier and Type | Method and Description |
---|---|
void |
after(RepositorySystemSession session,
RemoteRepository repository,
Map<String,Object> context)
This method is called after each test of the bundle is executed.
|
Map<String,Object> |
beforeClass(RepositorySystemSession session)
This method is called before the first test of the bundle is executed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
before, factory
public ConnectorTestSetup.AbstractConnectorTestSetup()
public Map<String,Object> beforeClass(RepositorySystemSession session) throws Exception
ConnectorTestSetup
beforeClass
in interface ConnectorTestSetup
session
- The session used for the test bundle.Exception
public void after(RepositorySystemSession session, RemoteRepository repository, Map<String,Object> context) throws Exception
ConnectorTestSetup
after
in interface ConnectorTestSetup
session
- The session used for the test bundle.repository
- the repository used in the test run.context
- The context provided by ConnectorTestSetup.beforeClass(RepositorySystemSession)
.Exception
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.