|
||||||||||
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,
java.util.Map<java.lang.String,java.lang.Object> context)
This method is called after each test of the bundle is executed. |
void |
afterClass(RepositorySystemSession session,
java.util.Map<java.lang.String,java.lang.Object> context)
This method is called after all tests of the bundle were run. |
RemoteRepository |
before(RepositorySystemSession session,
java.util.Map<java.lang.String,java.lang.Object> context)
This method is called before each test run. |
java.util.Map<java.lang.String,java.lang.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, java.util.Map<java.lang.String,java.lang.Object> context) throws java.lang.Exception
session
- The session used for the test bundle.context
- The context provided by beforeClass(RepositorySystemSession)
.
java.lang.Exception
java.util.Map<java.lang.String,java.lang.Object> beforeClass(RepositorySystemSession session) throws java.lang.Exception
session
- The session used for the test bundle.
java.lang.Exception
void after(RepositorySystemSession session, RemoteRepository repository, java.util.Map<java.lang.String,java.lang.Object> context) throws java.lang.Exception
session
- The session used for the test bundle.context
- The context provided by beforeClass(RepositorySystemSession)
.repository
- the repository used in the test run.
java.lang.Exception
void afterClass(RepositorySystemSession session, java.util.Map<java.lang.String,java.lang.Object> context) throws java.lang.Exception
session
- The session used for the test bundle.context
- The context provided by beforeClass(RepositorySystemSession)
.
java.lang.Exception
RepositoryConnectorFactory factory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |