public abstract class FWDProcedureMethodTestDescriptor extends AbstractMethodTestDescriptor
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.SkipResultafterEach, beforeEach, clazz, expectedException, fixture, method, parameterListparent| Constructor and Description |
|---|
FWDProcedureMethodTestDescriptor()
Default constructor, required for de-serialization
|
FWDProcedureMethodTestDescriptor(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 |
|---|---|
protected BaseDataType |
callMethodImpl(java.lang.reflect.Method m,
java.lang.Object o,
CallParameter[] args)
Execute a method.
|
afterImpl, beforeImpl, execute, executeImpl, getSource, getTestObject, readExternal, writeExternalafter, before, callLFMethodsImpl, callMethodImpl, checkInstance, cleanUp, cleanUpImpl, getTags, getTags, prepare, prepareImpl, toStringaddChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getType, getUniqueId, hashCode, print, removeChild, removeFromHierarchy, setParentclone, finalize, getClass, notify, notifyAll, wait, wait, waitaround, getExclusiveResources, getExecutionMode, nodeFinished, nodeSkipped, shouldBeSkippedpublic FWDProcedureMethodTestDescriptor()
FWDProcedureMethodTestDescriptor(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 nameprotected BaseDataType callMethodImpl(java.lang.reflect.Method m, java.lang.Object o, CallParameter[] args)
callMethodImpl in class AbstractFWDTestDescriptorm - the method to executeo - the object to use, can be null for "static" methods.args - method call arguments, is not used for proceduresnull