public interface ConnectorTestSetup
ConnectorTestSuite.
The specified methods have the same meaning as the corresponding JUnit4-annotations.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ConnectorTestSetup.AbstractConnectorTestSetup
Empty implementation of
ConnectorTestSetup. |
| 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.
|
RemoteRepository |
before(RepositorySystemSession session,
Map<String,Object> context)
This method is called before each test run.
|
Map<String,Object> |
beforeClass(RepositorySystemSession session)
This method is called before the first test of the bundle is executed.
|
RepositoryConnectorFactory |
factory() |
RemoteRepository before(RepositorySystemSession session, Map<String,Object> context) throws Exception
session - The session used for the test bundle.context - The context provided by beforeClass(RepositorySystemSession).ExceptionMap<String,Object> beforeClass(RepositorySystemSession session) throws Exception
session - The session used for the test bundle.Exceptionvoid after(RepositorySystemSession session, RemoteRepository repository, Map<String,Object> context) throws Exception
session - The session used for the test bundle.context - The context provided by beforeClass(RepositorySystemSession).repository - the repository used in the test run.ExceptionRepositoryConnectorFactory factory()
Copyright © 2010-2013 The Eclipse Foundation. All Rights Reserved.