public class AdapterManager
extends java.lang.Object
| Constructor and Description |
|---|
AdapterManager(ClientConfiguration clientConfiguration,
AdapterConfig adapterConfig) |
AdapterManager(ClientConfiguration clientConfiguration,
AdapterConfig adapterConfig,
ListenerManager listenerManager) |
AdapterManager(ClientConfiguration clientConfiguration,
AdapterConfig adapterConfig,
ThreadContext threadContext,
ResultStorage storage,
Writer writer,
ApiClient client,
ListenerManager listenerManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachments(java.util.List<java.lang.String> attachments) |
java.util.List<java.lang.String> |
getTestFromTestRun() |
boolean |
isFilteredMode() |
void |
scheduleTestCase(TestResult result)
Schedule given test case.
|
void |
startClassContainer(java.lang.String parentUuid,
ClassContainer container)
Starts class container.
|
void |
startMainContainer(MainContainer container)
Starts main container.
|
void |
startPrepareFixture(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
Start a new prepare fixture with given parent.
|
void |
startPrepareFixtureAll(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
Start a new prepare fixture with given parent.
|
void |
startPrepareFixtureEachTest(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
Start a new prepare fixture with given parent.
|
void |
startStep(java.lang.String uuid,
StepResult result)
Start a new step as child step of current running test case or step.
|
void |
startStep(java.lang.String parentUuid,
java.lang.String uuid,
StepResult result)
Start a new step as child of specified parent.
|
void |
startTearDownFixture(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
Start a new tear down fixture with given parent.
|
void |
startTearDownFixtureAll(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
Start a new tear down fixture with given parent.
|
void |
startTearDownFixtureEachTest(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
Start a new tear down fixture with given parent.
|
void |
startTestCase(java.lang.String uuid)
Starts test case with given uuid.
|
void |
startTests() |
void |
stopClassContainer(java.lang.String uuid)
Stops class container by given uuid.
|
void |
stopFixture(java.lang.String uuid)
Stops fixture by given uuid.
|
void |
stopMainContainer(java.lang.String uuid)
Stops main container by given uuid.
|
void |
stopStep()
Stops current running step.
|
void |
stopStep(java.lang.String uuid)
Stops step by given uuid.
|
void |
stopTestCase(java.lang.String uuid)
Stops test case by given uuid.
|
void |
stopTests() |
void |
updateClassContainer(java.lang.String uuid,
java.util.function.Consumer<ClassContainer> update)
Updates class container.
|
void |
updateFixture(java.lang.String uuid,
java.util.function.Consumer<FixtureResult> update)
Updates fixture by given uuid.
|
void |
updateStep(java.util.function.Consumer<StepResult> update)
Updates current step.
|
void |
updateStep(java.lang.String uuid,
java.util.function.Consumer<StepResult> update)
Updates step by specified uuid.
|
void |
updateTestCase(java.util.function.Consumer<TestResult> update)
Updates current test case
|
void |
updateTestCase(java.lang.String uuid,
java.util.function.Consumer<TestResult> update)
Updates test case by given uuid.
|
public AdapterManager(ClientConfiguration clientConfiguration, AdapterConfig adapterConfig)
public AdapterManager(ClientConfiguration clientConfiguration, AdapterConfig adapterConfig, ListenerManager listenerManager)
public AdapterManager(ClientConfiguration clientConfiguration, AdapterConfig adapterConfig, ThreadContext threadContext, ResultStorage storage, Writer writer, ApiClient client, ListenerManager listenerManager)
public void startTests()
public void stopTests()
public void startMainContainer(MainContainer container)
container - the main container.public void stopMainContainer(java.lang.String uuid)
uuid - the uuid of container.public void startClassContainer(java.lang.String parentUuid,
ClassContainer container)
parentUuid - the uuid of parent container.container - the class container.public void stopClassContainer(java.lang.String uuid)
uuid - the uuid of container.public void updateClassContainer(java.lang.String uuid,
java.util.function.Consumer<ClassContainer> update)
uuid - the uuid of container.update - the update function.public void startTestCase(java.lang.String uuid)
uuid - the uuid of test case to start.public void scheduleTestCase(TestResult result)
result - the test case to schedule.public void updateTestCase(java.util.function.Consumer<TestResult> update)
update - the update function.public void updateTestCase(java.lang.String uuid,
java.util.function.Consumer<TestResult> update)
uuid - the uuid of test case to update.update - the update function.public void stopTestCase(java.lang.String uuid)
uuid - the uuid of test case to stop.public void startPrepareFixtureAll(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
parentUuid - the uuid of parent container.uuid - the fixture uuid.result - the fixture.public void startTearDownFixtureAll(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
parentUuid - the uuid of parent container.uuid - the fixture uuid.result - the fixture.public void startPrepareFixture(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
parentUuid - the uuid of parent container.uuid - the fixture uuid.result - the fixture.public void startTearDownFixture(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
parentUuid - the uuid of parent container.uuid - the fixture uuid.result - the fixture.public void startPrepareFixtureEachTest(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
parentUuid - the uuid of parent container.uuid - the fixture uuid.result - the fixture.public void startTearDownFixtureEachTest(java.lang.String parentUuid,
java.lang.String uuid,
FixtureResult result)
parentUuid - the uuid of parent container.uuid - the fixture uuid.result - the fixture.public void updateFixture(java.lang.String uuid,
java.util.function.Consumer<FixtureResult> update)
uuid - the uuid of fixture.update - the update function.public void stopFixture(java.lang.String uuid)
uuid - the uuid of fixture.public void startStep(java.lang.String uuid,
StepResult result)
uuid - the uuid of step.result - the step.public void startStep(java.lang.String parentUuid,
java.lang.String uuid,
StepResult result)
parentUuid - the uuid of parent test case or step.uuid - the uuid of step.result - the step.public void updateStep(java.util.function.Consumer<StepResult> update)
update - the update function.public void updateStep(java.lang.String uuid,
java.util.function.Consumer<StepResult> update)
uuid - the uuid of step.update - the update function.public void stopStep()
public void stopStep(java.lang.String uuid)
uuid - the uuid of step to stop.public void addAttachments(java.util.List<java.lang.String> attachments)
public boolean isFilteredMode()
public java.util.List<java.lang.String> getTestFromTestRun()