@Component(value="tapirJUnitDescriptionProvider") public class JUnitDescriptionProvider extends Object
ExecutionModelElement
to JUnit's Description
. This is useful in order to fulfill the external
JUnit APIs. Building descriptions offers the possibility to report to JUnit run listeners
like Eclipse,
Surefire or Jenkins.Constructor and Description |
---|
JUnitDescriptionProvider() |
Modifier and Type | Method and Description |
---|---|
protected org.junit.runner.Description |
_getJUnitDescriptionInternal(ExecutionPlan executionPlan) |
protected org.junit.runner.Description |
_getJUnitDescriptionInternal(TestClass testClass) |
protected org.junit.runner.Description |
_getJUnitDescriptionInternal(TestStep testStep) |
protected org.junit.runner.Description |
_getJUnitDescriptionInternal(TestSuite testSuite) |
org.junit.runner.Description |
getJUnitDescription(ExecutionModelElement executionModelElement)
Provides a
Description for the given ExecutionModelElement . |
protected org.junit.runner.Description |
getJUnitDescriptionInternal(Object executionPlan) |
protected String |
getStepLabel(TestStep testStep) |
public org.junit.runner.Description getJUnitDescription(ExecutionModelElement executionModelElement)
Description
for the given ExecutionModelElement
.executionModelElement
- the ExecutionModelElement
protected org.junit.runner.Description _getJUnitDescriptionInternal(ExecutionPlan executionPlan)
protected org.junit.runner.Description _getJUnitDescriptionInternal(TestSuite testSuite)
protected org.junit.runner.Description _getJUnitDescriptionInternal(TestClass testClass)
protected org.junit.runner.Description _getJUnitDescriptionInternal(TestStep testStep)
protected org.junit.runner.Description getJUnitDescriptionInternal(Object executionPlan)
Copyright © 2018 b+m Informatik AG. All rights reserved.