Class SpecificationDescriptor
java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.concordion.integration.junit.platform.engine.FixtureBasedTestDescriptor
org.concordion.integration.junit.platform.engine.SpecificationDescriptor
- All Implemented Interfaces:
org.junit.platform.engine.support.hierarchical.Node<ConcordionEngineExecutionContext>
,org.junit.platform.engine.TestDescriptor
public class SpecificationDescriptor
extends FixtureBasedTestDescriptor
implements org.junit.platform.engine.support.hierarchical.Node<ConcordionEngineExecutionContext>
A concrete
fixture-based descriptor
for a
specification.- Since:
- 4.0
- See Also:
-
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.SkipResult
Nested classes/interfaces inherited from interface org.junit.platform.engine.TestDescriptor
org.junit.platform.engine.TestDescriptor.Type, org.junit.platform.engine.TestDescriptor.Visitor
-
Field Summary
Fields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
children
-
Method Summary
Modifier and TypeMethodDescriptionvoid
around
(ConcordionEngineExecutionContext context, org.junit.platform.engine.support.hierarchical.Node.Invocation<ConcordionEngineExecutionContext> invocation) protected FixtureInstance
protected Object
protected FixtureRunner
org.junit.platform.engine.TestDescriptor.Type
getType()
prepare
(ConcordionEngineExecutionContext context) protected FixtureInstance
Methods inherited from class org.concordion.integration.junit.platform.engine.FixtureBasedTestDescriptor
getFixtureClass
Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.junit.platform.engine.support.hierarchical.Node
after, before, cleanUp, execute, getExclusiveResources, getExecutionMode, nodeFinished, nodeSkipped, shouldBeSkipped
Methods inherited from interface org.junit.platform.engine.TestDescriptor
accept, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
-
Field Details
-
SEGMENT_TYPE
- See Also:
-
-
Method Details
-
getExampleNames
- Throws:
IOException
-
getFixtureType
- Specified by:
getFixtureType
in classFixtureBasedTestDescriptor
-
getFixtureInstance
- Specified by:
getFixtureInstance
in classFixtureBasedTestDescriptor
-
createFixtureInstance
-
recreateFixtureInstance
-
createFixtureObject
-
getFixtureRunner
- Specified by:
getFixtureRunner
in classFixtureBasedTestDescriptor
-
createFixtureRunner
- Throws:
UnableToBuildConcordionException
-
getType
public org.junit.platform.engine.TestDescriptor.Type getType()- Specified by:
getType
in interfaceorg.junit.platform.engine.TestDescriptor
-
prepare
public ConcordionEngineExecutionContext prepare(ConcordionEngineExecutionContext context) throws Exception - Specified by:
prepare
in interfaceorg.junit.platform.engine.support.hierarchical.Node<ConcordionEngineExecutionContext>
- Throws:
Exception
-
around
public void around(ConcordionEngineExecutionContext context, org.junit.platform.engine.support.hierarchical.Node.Invocation<ConcordionEngineExecutionContext> invocation) throws Exception - Specified by:
around
in interfaceorg.junit.platform.engine.support.hierarchical.Node<ConcordionEngineExecutionContext>
- Throws:
Exception
-