public class FWDProcedureMethodTestDescriptor_11_6 extends FWDProcedureMethodTestDescriptor
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| Modifier and Type | Field and Description |
|---|---|
private handle |
procedure
The procedure instance used in @Setup, @Test and @TearDown procedures.
|
afterEach, beforeEach, clazz, expectedException, fixture, method, parameterListparent| Constructor and Description |
|---|
FWDProcedureMethodTestDescriptor_11_6()
Default constructor, required for de-serialization
|
FWDProcedureMethodTestDescriptor_11_6(AbstractClassTestDescriptor parent,
java.lang.Class<?> clazz,
java.lang.reflect.Method execute,
java.util.List<java.lang.reflect.Method> beforeEach,
java.util.List<java.lang.reflect.Method> afterEach,
java.lang.String expectedException)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterImpl()
Execute the after behavior of this node implementation.
|
private void |
checkInstance()
Check the procedure instance is valid.
|
void |
executeImpl()
Execute the implementation behavior of this node.
|
protected java.lang.Object |
getTestObject()
Get test object.
|
void |
prepareImpl()
Prepare the supplied
context prior to execution implementation. |
callMethodImplbeforeImpl, execute, getSource, readExternal, writeExternalafter, before, callLFMethodsImpl, callMethodImpl, checkInstance, cleanUp, cleanUpImpl, getTags, getTags, prepare, toStringaddChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getType, getUniqueId, hashCode, print, removeChild, removeFromHierarchy, setParentclone, finalize, getClass, notify, notifyAll, wait, wait, waitaround, getExclusiveResources, getExecutionMode, nodeFinished, nodeSkipped, shouldBeSkippedprivate transient handle procedure
FWDProcedureMethodTestDescriptor_11_6(AbstractClassTestDescriptor parent, java.lang.Class<?> clazz, java.lang.reflect.Method execute, java.util.List<java.lang.reflect.Method> beforeEach, java.util.List<java.lang.reflect.Method> afterEach, java.lang.String expectedException)
The unique ID and display name for the descriptor are calculated based on the parent descriptor ID and the method name.
parent - the parent descriptorclazz - the Java class to create instancesexecute - the method to executebeforeEach - methods to execute before the execute methodafterEach - methods to execute after the execute methodexpectedException - if not null, the expected exception legacy class namepublic FWDProcedureMethodTestDescriptor_11_6()
private void checkInstance()
protected java.lang.Object getTestObject()
The value should be null if the test method is a static legacy class method.
getTestObject in class AbstractMethodTestDescriptornullpublic void afterImpl()
throws ErrorConditionException
This method will be called once after execution of this node.
afterImpl in class AbstractMethodTestDescriptorErrorConditionException - remote code may throw thispublic void executeImpl()
throws ErrorConditionException
executeImpl in class AbstractMethodTestDescriptorErrorConditionException - remote code may throw thispublic void prepareImpl()
throws ErrorConditionException
context prior to execution implementation.prepareImpl in class AbstractFWDTestDescriptorErrorConditionException - remote code may throw thisorg.opentest4j.AssertionFailedError - legacy errors are converted to this exceptionAbstractFWDTestDescriptor.cleanUpImpl()