Module org.junit.jupiter.engine
Class DefaultDynamicTestInvocationContext
- java.lang.Object
-
- org.junit.jupiter.engine.descriptor.DefaultDynamicTestInvocationContext
-
- All Implemented Interfaces:
DynamicTestInvocationContext
class DefaultDynamicTestInvocationContext extends java.lang.Object implements DynamicTestInvocationContext
Default implementation of theDynamicTestInvocationContext
API.- Since:
- 5.8
-
-
Field Summary
Fields Modifier and Type Field Description private Executable
executable
-
Constructor Summary
Constructors Constructor Description DefaultDynamicTestInvocationContext(Executable executable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Executable
getExecutable()
Get theExecutable
of this dynamic test invocation context.
-
-
-
Field Detail
-
executable
private final Executable executable
-
-
Constructor Detail
-
DefaultDynamicTestInvocationContext
DefaultDynamicTestInvocationContext(Executable executable)
-
-
Method Detail
-
getExecutable
public Executable getExecutable()
Description copied from interface:DynamicTestInvocationContext
Get theExecutable
of this dynamic test invocation context.- Specified by:
getExecutable
in interfaceDynamicTestInvocationContext
- Returns:
- the executable of the dynamic test invocation, never
null
-
-