|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorTestSetup
The callback handler used to configure ConnectorTestSuite
.
The specified methods have the same meaning as the corresponding JUnit4-annotations.
ConnectorTestSetup.AbstractConnectorTestSetup
Nested Class Summary | |
---|---|
static class |
ConnectorTestSetup.AbstractConnectorTestSetup
Empty implementation of ConnectorTestSetup . |
Method Summary | |
---|---|
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()
|
Method Detail |
---|
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)
.
Exception
Map<String,Object> beforeClass(RepositorySystemSession session) throws Exception
session
- The session used for the test bundle.
Exception
void 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.
Exception
RepositoryConnectorFactory factory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |