Class CucumberEngineDescriptor
java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.junit.platform.engine.support.descriptor.EngineDescriptor
io.cucumber.junit.platform.engine.CucumberEngineDescriptor
- All Implemented Interfaces:
org.junit.platform.engine.support.hierarchical.Node<CucumberEngineExecutionContext>,org.junit.platform.engine.TestDescriptor
class CucumberEngineDescriptor
extends org.junit.platform.engine.support.descriptor.EngineDescriptor
implements org.junit.platform.engine.support.hierarchical.Node<CucumberEngineExecutionContext>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.junit.platform.engine.support.hierarchical.Node
org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor, org.junit.platform.engine.support.hierarchical.Node.ExecutionMode, org.junit.platform.engine.support.hierarchical.Node.Invocation<C extends org.junit.platform.engine.support.hierarchical.EngineExecutionContext>, org.junit.platform.engine.support.hierarchical.Node.SkipResultNested classes/interfaces inherited from interface org.junit.platform.engine.TestDescriptor
org.junit.platform.engine.TestDescriptor.Type, org.junit.platform.engine.TestDescriptor.Visitor -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CucumberConfiguration(package private) static final Stringprivate final @Nullable org.junit.platform.engine.TestSourceFields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
children -
Constructor Summary
ConstructorsConstructorDescriptionCucumberEngineDescriptor(org.junit.platform.engine.UniqueId uniqueId, CucumberConfiguration configuration, @Nullable org.junit.platform.engine.TestSource source) -
Method Summary
Modifier and TypeMethodDescriptionvoidafter(CucumberEngineExecutionContext context) before(CucumberEngineExecutionContext context) voidcleanUp(CucumberEngineExecutionContext context) Optional<org.junit.platform.engine.TestSource> private CucumberEngineExecutionContextifChildren(CucumberEngineExecutionContext context, Consumer<CucumberEngineExecutionContext> action) prepare(CucumberEngineExecutionContext context) Methods inherited from class org.junit.platform.engine.support.descriptor.EngineDescriptor
getTypeMethods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getTags, getUniqueId, hashCode, orderChildren, removeChild, removeFromHierarchy, setParent, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.junit.platform.engine.support.hierarchical.Node
around, execute, getExclusiveResources, getExecutionMode, isGlobalReadLockRequired, nodeFinished, nodeSkipped, shouldBeSkippedMethods inherited from interface org.junit.platform.engine.TestDescriptor
accept, getAncestors, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
-
Field Details
-
ENGINE_ID
- See Also:
-
configuration
-
source
private final @Nullable org.junit.platform.engine.TestSource source
-
-
Constructor Details
-
CucumberEngineDescriptor
CucumberEngineDescriptor(org.junit.platform.engine.UniqueId uniqueId, CucumberConfiguration configuration, @Nullable org.junit.platform.engine.TestSource source)
-
-
Method Details
-
getConfiguration
-
getSource
- Specified by:
getSourcein interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
getSourcein classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
prepare
- Specified by:
preparein interfaceorg.junit.platform.engine.support.hierarchical.Node<CucumberEngineExecutionContext>
-
before
- Specified by:
beforein interfaceorg.junit.platform.engine.support.hierarchical.Node<CucumberEngineExecutionContext>
-
after
- Specified by:
afterin interfaceorg.junit.platform.engine.support.hierarchical.Node<CucumberEngineExecutionContext>
-
cleanUp
- Specified by:
cleanUpin interfaceorg.junit.platform.engine.support.hierarchical.Node<CucumberEngineExecutionContext>
-
ifChildren
private CucumberEngineExecutionContext ifChildren(CucumberEngineExecutionContext context, Consumer<CucumberEngineExecutionContext> action)
-